Armghn
Armghn

Reputation: 144

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

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?

Upvotes: 0

Views: 71

Answers (1)

Armghn
Armghn

Reputation: 144

You correctly pointed out that the issue was with HttpServlet class, I switched to the one which was used in the example & my update operation started working. thanks.

Upvotes: 1

Related Questions