简体   繁体   中英

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?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM