use of org.neo4j.doc.server.rest.RESTDocsGenerator in project neo4j-documentation by neo4j.
the class AbstractPluginTestBase method performPost.
protected String performPost(String uri, String body) {
RESTDocsGenerator requestBuilder = gen.get().expectedStatus(200);
if (body != null) {
requestBuilder.payload(body);
}
String result = requestBuilder.post(uri).entity();
return result;
}
Aggregations