on ‎2019 Nov 27 4:53 AM
Hi Experts,
I am getting 400 bad request error once post happens.
I can see above url when error appears. Please check if you would have faced similar issue in your project. Let me know in case of any further detail required.
Thanks
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
Either
1.)
Remove the query parameter
?sap-client=100&$filter=Proxy%20eq%20%27N%27/$count from your request,so that it reads
https://<port>:<host>/sap/opu/odata/sap/ZTest_SRV/EntitySet
and provide a valid payload to create a new entity .
POST requests are only alllowed on entity set level.
or
2.)
Change the method from POST to GET so you will get a valid read request.
See also
https://www.odata.org/documentation/odata-version-2-0/uri-conventions/
Regards,
Andre
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 13 | |
| 8 | |
| 7 | |
| 5 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.