Project

General

Profile

Actions

Defect #11491

closed

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

Added by Anonymous over 11 years ago. Updated over 11 years ago.

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

Is duplicate of Redmine - Defect #11388: Updating a version through rest API returns invalid JSONClosedJean-Philippe Lang

Actions
Actions #1

Updated by Jean-Philippe Lang over 11 years ago

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

Also available in: Atom PDF