JAL-3851 Fix getRequestBody()
[jalview.git] / src / jalview / rest / InputAlignmentEndpoint.java
index 095fd24..caad39f 100644 (file)
@@ -67,7 +67,8 @@ public class InputAlignmentEndpoint extends AbstractEndpointAsync
       access = "post";
       try
       {
-        body = getRequestBody(request);
+        body = RestHandler.getInstance().getRequestBody(request, response);
+        Console.debug("BODY='" + body + "'");
       } catch (IOException e)
       {
         returnError(request, response, "could not read POST body");