Is it against the HTTP Protocol and Best practice to have parameters in a HTTP DELETE (verb) - specifying what should be DELETED.
For example: VERB: DELETE
http://localhost:9393/delete-dns-record?zone=codedtrue.com&type=A&hostname=blog3&attributes=xyz
(using the url parameters to delete the correct resource)
If so, how should this be implemented?
I think this answer is sufficiently dealt with in the link found in the comment by CodeCaster.
Should we encoded identity of the resource in the message body of a DELETE, the best answer is NO. The RFC does not say NO, but it does clearly say this may or may not be supported.
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.