Is an entity body allowed for an HTTP DELETE request?

后端 未结 15 1796
长发绾君心
长发绾君心 2020-11-21 13:32

When issuing an HTTP DELETE request, the request URI should completely identify the resource to delete. However, is it allowable to add extra meta-data as part of the entity

15条回答
  •  半阙折子戏
    2020-11-21 13:49

    Might be the below GitHUb url will help you, to get the answer. Actually, Application Server like Tomcat, Weblogic denying the HTTP.DELETE call with request payload. So keeping these all things in mind, I have added example in github,please have a look into that

    https://github.com/ashish720/spring-examples

提交回复
热议问题