git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-3851 Fix getRequestBody()
[jalview.git]
/
src
/
jalview
/
rest
/
InputAlignmentEndpoint.java
diff --git
a/src/jalview/rest/InputAlignmentEndpoint.java
b/src/jalview/rest/InputAlignmentEndpoint.java
index
095fd24
..
caad39f
100644
(file)
--- a/
src/jalview/rest/InputAlignmentEndpoint.java
+++ b/
src/jalview/rest/InputAlignmentEndpoint.java
@@
-67,7
+67,8
@@
public class InputAlignmentEndpoint extends AbstractEndpointAsync
access = "post";
try
{
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");
} catch (IOException e)
{
returnError(request, response, "could not read POST body");