curl --request POST \
--url http://localhost:3000/v1/scrapers/cookies \
--header 'Content-Type: application/json' \
--data '
{
"retailer_code": "<string>",
"cookies": [
{
"name": "<string>",
"value": "<string>",
"domain": "<string>",
"path": "<string>",
"expires": 123,
"httpOnly": true,
"secure": true,
"sameSite": "<string>"
}
],
"domain": "amazon.com",
"expires_hours": 336,
"notes": "<string>"
}
'{
"message": "<string>",
"cookie_record": "<unknown>"
}Upload or update cookies for scraper authentication.
curl --request POST \
--url http://localhost:3000/v1/scrapers/cookies \
--header 'Content-Type: application/json' \
--data '
{
"retailer_code": "<string>",
"cookies": [
{
"name": "<string>",
"value": "<string>",
"domain": "<string>",
"path": "<string>",
"expires": 123,
"httpOnly": true,
"secure": true,
"sameSite": "<string>"
}
],
"domain": "amazon.com",
"expires_hours": 336,
"notes": "<string>"
}
'{
"message": "<string>",
"cookie_record": "<unknown>"
}