ChiliProject is not maintained anymore. Please be advised that there will be no more updates.

We do not recommend that you setup new ChiliProject instances and we urge all existing users to migrate their data to a maintained system, e.g. Redmine. We will provide a migration script later. In the meantime, you can use the instructions by Christian Daehn.

[REST] no error message on PUT and DELETE (Bug #333)


Added by Emmanuel Bourgerie at 2011-04-14 08:25 am. Updated at 2011-04-14 12:27 pm.


Status:Declined Start date:2011-04-14
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:REST API
Target version:-
Remote issue URL: Affected version:1.1.0

Description

By using REST API, there is not return message about PUT and DELETE actions (we tested only for xml).
We would wish at least, have a return message to know if this action is ok or no.


History

Updated by Holger Just at 2011-04-14 09:00 am

The result of the action is indicated in the HTTP status code of the response, as it is common in REST interfaces.

If you get a 200 back (or a 201 Created in the case of POST, with a link to the new resource in the Location header), everything went find. If you get a 4xx or 5xx back, there was some error.

If you experienced diverging behavior, please create a new issue with a specific error description.

  • Status changed from Open to Declined

Updated by Emmanuel Bourgerie at 2011-04-14 12:27 pm

Many thanks for your response.

Also available in: Atom PDF