Skip to Content
0

Consume oDataModel with json data and post method

Apr 07, 2017 at 03:09 PM

59

avatar image
Former Member

Hello,

I want to make a POST request with JSON data to the following URL:

http://localhost:8320/cstiparking/incloud_backend.svc/Floors

Headers:

Content-Type: application/json

Cookie: JSESSIONID=3073B356F4EEA53C8A02D867C860D9333FE2312418AC

Body JSON:

{

"Id_car_parking": 1,

"Id_floor": 1,

"Is_basement": "1",

"Status": "1",

"Text": "S1"

}

I get the following Error:

http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"> "OData - JPA Runtime: JPA create request is not correct"

Please help.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers