-
Bug
-
Resolution: Obsolete
-
Medium
-
None
-
2.0
-
None
-
Atlassian Crowd Version: 2.0.0 (Build:#402 - Jul 02, 2009)
The following unsuccessful request gives an error response in the body in XML format:
curl -X POST --data @sarahinput.xml http://localhost:8095/crowd/rest/admin/latest/directory/atlassian%20crowd/user/testcurl.xml -u admin:admin -o sarahoutput.xml
Response:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><status><status-code>500</status-code></status>
But if you remove the ".xml" extension from the request, you get a JSON response body:
{"status-code":"500"}
Would it be better if the default error response is in XML rather than JSON, since that's the default for non-error responses?
- mentioned in
-
Page Failed to load
I can't reproduce this on Crowd 2.7.1. The mentioned REST API doesn't even exist anymore as far as I can tell, so I'm closing this as obsolete.