Custom Cookies
If you would like to send custom cookies to the target website, simply add them as parameters to the request or as the “Wsa-Cookie” header (see Custom-Headers section).
In the right-side box, you will find an example request used to scrape the URL https://httpbin.org/cookies, which will mirror the cookies sent.
Custom Cookies examples
GET https://scrape.shifter.io/v1?api_key=api_key&url=http%3A%2F%2Fhttpbin.org%2Fcookies
⇡ Input
curl --request GET --url "https://scrape.shifter.io/v1?api_key=api_key&url=http%3A%2F%2Fhttpbin.org%2Fcookies" --header "Wsa-Accept: application/json" --header "Wsa-Cookie: name1=value1; name2=value2"
⇣ Output
{
"cookies": {
"name1": "value1",
"name2": "value2"
}
}
Last updated
Was this helpful?