Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我按照教程进行操作:https ://open.sap.com/courses/s4h13/items/258qEhXx5kdG8b4SXMSJYp ,我根据我的自定义 Odata 服务进行了更改,但是我的应用程序仅适用于读取操作。我在通过 get 请求获取 X-CSRF-token 后添加了它,但我仍然得到 501(未实现错误),即使我的 servlet 及其各自的命令类中实现了 doPatch 方法。有什么建议我可能做错了吗?
您正确地指出问题出在 HttpServlet 类上,我切换到示例中使用的那个,并且我的更新操作开始工作。谢谢。