Spotted something off?Report on Discord
guides

Add Referer

Simulate natural browser navigation by adding a referer to your POST request to satisfy anti-bot systems.

Updated May 28, 2025

Simulate natural browser navigation by visiting a page first or injecting 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 anti-bot checks are involved)

Example

bash8 lines

Notes

  • getUrl is preferred when facing anti-bot protection, as it simulates a real navigation path.
  • customHeaders is simpler and faster if no referer validation is enforced.
  • This approach increases request authenticity and helps avoid blocks from systems that expect a valid navigation path before a POST operation.