Delete Records with Filter
A single record or row can be deleted from a database table using HTTP DELETE
method along with a filter.
This filter should uniquely identify one record in the table.
danger
In case the filter matches multiple records, all of them will be deleted.
Example Request
- cURL
- HTTPie
curl --request DELETE \
--url http://localhost:8080/film&filter=id==1 \
--header 'Content-Profile: sakila' \
--header 'Content-Type: application/json' \
--header 'User-Agent: insomnia/8.4.5'
http DELETE http://localhost:8080/film&filter=id==1 \
Content-Profile:sakila \
Content-Type:application/json \
User-Agent:insomnia/8.4.5
HTTP Response
TODO
Error handling
TODO