These are chat archives for request/request

9th
Apr 2017
Xhip
@xhip
Apr 09 2017 22:57
Hi guys, quick question does anyone knows if I can do a "delete method" and send a post data on the same request?
curl 'https://<url>' \
-XDELETE \
-H 'DNT: 1' \
-H 'Content-Type: application/json; charset=UTF-8' \
-H 'Referer: <url>' \
-H 'Accept: application/vnd.<host>.v1+json' \
-H 'User-Agent: <agent>' \
-H 'Origin: <url>' \
-H 'X-Requested-With: XMLHttpRequest' \
-H 'Api-Token: <token>' \
-H 'X-CSRF-Token: <token>' \
-H 'Client-ID: <id>' \
--data-binary ‘{<json>}'
trying to do this