MCPcopy Create free account
hub / github.com/BaseXdb/basex / post

Method post

basex-api/src/test/java/org/basex/http/HTTPTest.java:147–150  ·  view source on GitHub ↗

Executes the specified POST request. @param payload payload @param type media type @param request path @return string result @throws IOException I/O exception

(final String payload, final MediaType type, final String request)

Source from the content-addressed store, hash-verified

145 * @throws IOException I/O exception
146 */
147 protected static String post(final String payload, final MediaType type, final String request)
148 throws IOException {
149 return post(200, payload, type, request);
150 }
151
152 /**
153 * Executes the specified POST request.

Callers

nothing calls this directly

Calls 2

sendMethod · 0.95
nameMethod · 0.65

Tested by

no test coverage detected