Web Unblocker quickstart
Retrieve a page while Raspbytes manages the access strategy.
Retrieve a page
Send a synchronous request when the application can wait for the page response:
curl --fail-with-body --silent --show-error \
-X POST 'https://api.raspbytes.com/api/v1/unblock/' \
-H "X-API-Key: $RASPBYTES_API_KEY" \
-H 'Content-Type: application/json' \
-d '{
"url": "https://example.com/products",
"method": "GET",
"strategy": "adaptive",
"proxy": { "country": "gb" },
"follow_redirects": true
}'Use the returned status, final URL, headers, body, and usage information in the
application. Do not assume the requested URL remains the final URL when safe
redirect following is enabled.
Updated 16 days ago
Did this page help you?

