Scrapfly
Scraping via Scrapfly with the secret key added by the gateway
Fronts the Web Scraping API of Scrapfly; the gateway fills in the secret key parameter on the query string:
Everything is driven by the query string: the target url plus any Scrapfly parameter (asp, render_js, country, proxy_pool, format, …). What you put there reaches Scrapfly exactly as written.
The method of your request becomes the method Scrapfly executes against the scraped URL — hence GET, POST, PUT, PATCH, HEAD all pass through. (OPTIONS is a CORS preflight, not a scrape — the gateway rejects it.)
Credential handling
keygoes in ahead of everything you send, so it can’t be swallowed by a target URL with incomplete encoding.- A
keysupplied by the client in the query is discarded (any encoding), so nothing can displace the injected key. Authorizationis dropped before the request goes upstream — your gateway token is meaningless to Scrapfly.
Examples
Basic scrape
Render JS + anti-scraping protection
Scrapfly’s response comes back untouched. Every supported parameter is listed in Scrapfly’s documentation.