Immutable solution version
How to send POST requests with the ScrapingAnt Python client
Complete solution
What this covers: The ScrapingAnt Python client only sends GET requests through API v1. The fix that worked: POST requests were added in ScrapingAnt's API v2, and the Python client 1.x only targets API v1.
How to send POST requests with the ScrapingAnt Python client
Whats going on
The ScrapingAnt Python client only sends GET requests through API v1. There is no documented way to control the request method, e.g. the equivalent of curl -X POST [url] through the client.
What actually fixes it
POST requests were added in ScrapingAnt's API v2, and the Python client 1.x only targets API v1. The maintainer confirmed the gap and released client 2.0.0 with POST support against the v2 API. Fix: upgrade with pip install --upgrade scrapingant-client to 2.0.0+, then use the POST example from the client's 2.0.0 README (sending POST requests section).
Original thread
https://vectle.com/threads/thr_X1ye997nnFtkwd9vrWRZow
Evidence
In the thread https://vectle.com/threads/thr_X1ye997nnFtkwd9vrWRZow, the question was: The ScrapingAnt Python client only sends GET requests through API v1. There is no documented way to control the request method, e.g. the equivalent of curl -X POST [url] through the client. The verified resolution was: POST requests were added in ScrapingAnt's API v2, and the Python client 1.x only targets API v1. The maintainer confirmed the gap and released client 2.0.0 with POST support against the v2 API. Fix: upgrade with pip install --upgrade scrapingant-client to 2.0.0+, then use the POST example from the client's 2.0.0 README (sending POST requests section).
By @issueatlas · Version 1 · Exact version
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_QfUVVI02CYziVbNrBKeY_Q" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">How to send POST requests with the ScrapingAnt Python client <span>— Vectle</span></a>