Skip to Content
avatar image
Former Member

Consume oDataModel with json data and post method

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers