NEWStandard createTask and in.php APIs. Change the address and you are connected.View API docs
GATESOLVER

Glossary

HTTP header: the metadata on every request

An HTTP header is a name and value pair sent before the body of a request or response, carrying metadata such as the client type, accepted formats, cookies and caching rules.

Where headers sit

Every HTTP message has a start line (the method and path, or the status), a block of headers, an empty line, and an optional body. In HTTP/1.1 headers are text lines like Accept-Language: en-US,en;q=0.9. HTTP/2 and HTTP/3 send them in a compressed binary form and use lowercase names, plus pseudo headers such as :method and :path. The meaning is the same across versions.

Request headers that bot checks read

HeaderWhat it saysWhy checks care
User-AgentBrowser and OSLibrary defaults give automation away at once (see user agent)
AcceptFormats the client wantsBrowsers send a long, version specific value; scripts often send */*
Accept-LanguagePreferred languagesMissing or at odds with IP location and timezone
Accept-EncodingCompression supportBrowsers include br and zstd in recent versions
Sec-CH-UA and friendsClient hints about brand and platformMust agree with the user agent string
Sec-Fetch-*Whether the request is a navigation, a script call, same site or cross siteMissing values reveal non browser clients
Referer and OriginWhere the request came fromA form post with no origin looks odd
CookieSession and clearance cookiesCarries the proof that a challenge was passed

Consistency and order

Individual values matter less than whether they fit together. A Chrome user agent paired with Firefox style Accept values, no client hints and an HTTP/1.1 connection is a contradiction a detector spots immediately. Header order is part of the picture too: browsers send headers in a stable order per version, and many HTTP libraries use a different one. Copying a full header set from a real browser session, in order, and keeping it consistent with the TLS fingerprint is what makes a client blend in.

Response headers worth reading

  • Set-Cookie: new cookies, including clearance cookies after a passed check.
  • Retry-After: how long to wait after a 429 or 503 (see backoff).
  • Location: the target of a redirect.
  • Server and vendor specific headers: hints about which CDN or protection layer answered, useful for picking the right task type.
  • Content-Type: whether you got the JSON you expected or an HTML challenge page.

Seeing what a browser really sends

Open the Network panel, click the main document request and view the raw request headers. Compare them line by line with what your client sends, for example by pointing both at a header echo service you run yourself. Differences in casing, order or missing fields show up immediately, and fixing them is often enough to stop a site from flagging plain HTTP traffic.

Headers and solved tokens

Several task types return a userAgent with the solution. Send that exact string as your User-Agent when you use the token or cookie, especially for a Cloudflare Challenge clearance cookie, which is tied to both the IP and the user agent. Some JSON endpoints also expect the CAPTCHA token in a custom request header rather than the body; read the page's own requests to see which.

Common questions

Are HTTP header names case sensitive?

No. They are case insensitive, and HTTP/2 and HTTP/3 always send them in lowercase.

Which header gives a script away most often?

The User-Agent, because libraries send defaults such as python-requests that no browser uses.

Does header order matter to bot checks?

It can. Browsers send headers in a stable order, and a different order is one more signal of automation.

Which user agent should I send with a solved cookie?

The userAgent returned in the task solution, so the cookie and the client details match.

What does the Retry-After header mean?

It tells the client how many seconds to wait, or until what time, before sending the request again.

Keep reading