Performing POST / PUT / DELETE requests
How to perform POST / PUT / DELETE requests using the web scraping API
To send a POST / PUT / DELETE request, send the POST / PUT / DELETE request to the main endpoint with your x-api-key
and url
parameters.
Data will be forwarded transparently to the target web page.
Also, don't forget using custom headers to specify Content-Type
you're sending.
curl -X "POST" "https://api.scrapingant.com/v2/general?url=https:%2F%2Fhttpbin.org%2Fanything&x-api-key=<YOUR_SCRAPINGANT_API_KEY>" \
-H 'Ant-Content-Type: application/x-www-form-urlencoded'