Skip to main content
POST
/
v1
/
scrapers
/
cookies
/
from-har
Extract and upload cookies from HAR file
curl --request POST \
  --url http://localhost:3000/v1/scrapers/cookies/from-har \
  --header 'Content-Type: application/json' \
  --data '
{
  "retailer_code": "<string>",
  "har_content": "<string>",
  "domain": "amazon.com",
  "expires_hours": 336,
  "notes": "<string>"
}
'
{
  "message": "<string>",
  "cookie_count": 123,
  "cookie_names": [
    "<string>"
  ],
  "cookie_record": "<unknown>"
}

Body

application/json
retailer_code
string
required
Required string length: 1 - 20
har_content
string
required
domain
string
default:amazon.com
Maximum string length: 100
expires_hours
integer
default:336
Required range: 1 <= x <= 720
notes
string
Maximum string length: 500

Response

201 - application/json

Cookies extracted and uploaded

message
string
required