Skip to main content
POST
JavaScript

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Browser session ID

Body

application/json

Request to make an HTTP request through the browser's network stack.

url
string
required

Target URL (must be http or https).

method
enum<string>
default:GET

HTTP method.

Available options:
GET,
HEAD,
POST,
PUT,
PATCH,
DELETE,
OPTIONS
headers
object

Custom headers merged with browser defaults.

body
string

Request body (for POST/PUT/PATCH).

timeout_ms
integer
default:30000

Request timeout in milliseconds.

Required range: 1000 <= x <= 60000
response_encoding
enum<string>
default:utf8

Encoding for the response body. Use base64 for binary content.

Available options:
utf8,
base64

Response

Response from target URL

Structured response from the browser curl request.

status
integer
required

HTTP status code from target.

headers
object
required

Response headers (multi-value).

body
string
required

Response body (UTF-8 string or base64 depending on request).

duration_ms
integer
required

Total request duration in milliseconds.