Is an entity body allowed for an HTTP DELETE request?

后端 未结 15 1561
长发绾君心
长发绾君心 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 14:03

    It is worth noting that the OpenAPI specification for version 3.0 dropped support for DELETE methods with a body:

    see here and here for references

    This may affect your implementation, documentation, or use of these APIs in the future.

提交回复
热议问题