Spotted something off?Report on Discord
guides
Add Referer
Add a Referer header to your POST request to reflect the navigation path during authorized browser workflows.
Updated May 28, 2025
Set the navigation context by visiting a page first or adding a static Referer header before making a POST request.
Command
"request.post" β use getUrl or customHeaders to supply the referer.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
cmd |
string | Yes | Should be "request.post" |
url |
string | Yes | Target POST endpoint |
postData |
string | Yes | Data to send in the POST body (URL-encoded or JSON as required) |
getUrl |
string | No | Visit this URL first; it becomes the referer (most natural approach) |
customHeaders |
object | No | Add "Referer" directly via headers (when no referer validation is involved) |
Example
bash8 lines
Want to run this request directly in your browser?to try it live with your own API key.
Notes
getUrlis preferred for authorized browser workflows, as it preserves the expected browser navigation context.customHeadersis simpler and faster if no referer validation is enforced.- This approach preserves the expected browser navigation context for systems that expect a valid navigation path before a POST operation.