Actions
Defect #11491
closedJSON / XML format : delete / put dont send any data
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
REST API
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Duplicate
Affected version:
Description
I use spore in perl program and I have test it well with JSON format.
The REST::API is not very compliant on some action.
For POST / GET with have a JSON so the serializer can handle it properly and transform the result in a perl structure.
for DELETE / PUT the result is BLANK, only the status can tell if the operation is good or no. But when the serializer try to transform the BLANK result into a JSON it failed !
So The DELETE or UPDATE is effective but we got an error !
Could you please provide always a JSON or XML result in any operation ? even a empty '{}' is sufficient.
Thanks
Related issues
Updated by Jean-Philippe Lang over 12 years ago
- Status changed from New to Closed
- Resolution set to Duplicate
Actions