cURL – DELETE request examples
By:Roy.LiuLast updated:2019-08-11
To send a DELETE request, uses cURL -X DELETE
Terminal
$ curl -X DELETE http://localhost:8080/user/100
The above example will delete a user where user id is 100.
References
From:一号门
Previous:cURL – PUT request examples
COMMENTS