cancel
Showing results for 
Search instead for 
Did you mean: 

unable to run update, create & delete query on my s4sdk app via postman

0 Kudos

I followed the tutorial: https://open.sap.com/courses/s4h13/items/258qEhXx5kdG8b4SXMSJYp, I made changes in accordance with my Custom Odata service, however my app works only for read operations. I am adding X-CSRF-token after fetching it via get request, but still I get 501 (not implemented error) even though I do have doPatch method implemented in my servlet & its respective command class. any suggestion what I might be doing wrong?

Accepted Solutions (1)

Accepted Solutions (1)

HenningH
Advisor
Advisor
0 Kudos

Hello Armoghan,

let's continue the discussion on Stack Overflow, to keep things at one place.

Thanks,

Henning

0 Kudos

for those who are facing same issue: Issue was with my HttpServlet class, Henning pointed out that Javax HttpServlet class doesn't support Patch method.

0 Kudos

henning.heitkoetter thanks a lot for your help, I was able to create RESTful services, I am looking for some useful blogs for creating ODATA services for the same via eclipse, is there any blog which might guide/help me?

HenningH
Advisor
Advisor
0 Kudos

armoghan The following help pages about the Cloud Application Programming Model should help you: https://help.sap.com/viewer/65de2977205c403bbc107264b8eccf4b/Cloud/en-US/00823f91779d4d42aa29a498e05.... The programming model allows you to define OData services based on CDS and serve them in Java or Node.js. It is not specific to Eclipse, but can be developed in all development environments.

If you have questions on the programming model, look for the tag on answers.sap.com.

Answers (0)