Closed brianherbert closed 11 years ago
This also doesn't work for "PUT" requests. Updated title.
DELETE and PUT work fine, actually. There's just some minor problems with how you're addressing the API;
-d
with your CURL request.Here's a working example:
curl -X DELETE https://api.crowdmap.com/v1/posts/123456789 -d "apikey=XYZ&session=ABC" -A "Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.72 Safari/537.36"
Ah tricky.
Thanks!
This will work:
This will not work:
Either I'm doing this wrong or we should see about making this work, if it's possible.