- REST API for persisting form now returns a JSON response rather than HTML

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14007 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Gavin Cornwell
2009-04-20 10:38:09 +00:00
parent 67020f42c2
commit de74a6e44a
8 changed files with 11 additions and 28 deletions

View File

@@ -75,8 +75,7 @@ public class FormRestApiJsonPost_Test extends AbstractTestFormRestApi
// Submit the JSON request.
String jsonPostString = jsonPostData.toString();
Response ignoredRsp = sendRequest(new PostRequest(referencingNodeUpdateUrl, jsonPostString,
APPLICATION_JSON), 200);
sendRequest(new PostRequest(referencingNodeUpdateUrl, jsonPostString, APPLICATION_JSON), 200);
// The nodeService should give us the modified property.
Serializable modifiedDescription =