Project

General

Profile

Actions

Defect #7850

closed

Possible broken JSON REST API

Added by Artem Konoplin over 13 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
REST API
Target version:
-
Start date:
2011-03-13
Due date:
% Done:

0%

Estimated time:
Resolution:
Cant reproduce
Affected version:

Description

When i try to create a project using XML all is gone right.
For ex.: XML post to /projects.xml:

<project name="test123" identifier="test123"/>

Answer:

RC: 201 Message: Created

but when i try to make same thing in JSON format - error is occurred.
Ex.: JSON post to /projects.json:

{"project": {"name": "test123", "identifier": "test123"}}

Answer:

RC: 500 Message: Internal Server Error


Files

development.xml.log (11.3 KB) development.xml.log Artem Konoplin, 2011-03-15 05:42
development.json.log (6.17 KB) development.json.log Artem Konoplin, 2011-03-15 05:42
Actions

Also available in: Atom PDF