Defect #11491

JSON / XML format : delete / put dont send any data

Added by celogeek san over 9 years ago. Updated over 9 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:


Category:REST API
Target version:-
Resolution:Duplicate Affected version:2.0.3


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.


Related issues

Duplicates Redmine - Defect #11388: Updating a version through rest API returns invalid JSON Closed


#1 Updated by Jean-Philippe Lang over 9 years ago

  • Status changed from New to Closed
  • Resolution set to Duplicate

Also available in: Atom PDF