ApifyClient.API.BrowserInfo (apify_client v1.0.0)

Copy Markdown View Source

Provides API endpoints related to api/browser info

Summary

Functions

Get browser info (DELETE)

Get browser info

Get browser info (PUT)

Functions

delete(opts \\ [])

@spec delete(opts :: keyword()) ::
  {:ok, ApifyClient.Schemas.BrowserInfoResponse.t()}
  | {:error, ApifyClient.Error.t()}

Get browser info (DELETE)

Returns information about the HTTP request, including the client IP address, country code, request headers, and body length.

This endpoint is designed for proxy testing. It accepts any HTTP method so you can verify that your proxy correctly forwards requests of any type and that client IP addresses are anonymized.

Options

  • skip_headers: If true or 1, the response omits the headers field.
  • raw_headers: If true or 1, the response includes the rawHeaders field with the raw request headers.

get(opts \\ [])

@spec get(opts :: keyword()) ::
  {:ok, ApifyClient.Schemas.BrowserInfoResponse.t()}
  | {:error, ApifyClient.Error.t()}

Get browser info

Returns information about the HTTP request, including the client IP address, country code, request headers, and body length.

This endpoint is designed for proxy testing. It accepts any HTTP method so you can verify that your proxy correctly forwards requests of any type and that client IP addresses are anonymized.

Options

  • skip_headers: If true or 1, the response omits the headers field.
  • raw_headers: If true or 1, the response includes the rawHeaders field with the raw request headers.

update(opts \\ [])

@spec update(opts :: keyword()) ::
  {:ok, ApifyClient.Schemas.BrowserInfoResponse.t()}
  | {:error, ApifyClient.Error.t()}

Get browser info (PUT)

Returns information about the HTTP request, including the client IP address, country code, request headers, and body length.

This endpoint is designed for proxy testing. It accepts any HTTP method so you can verify that your proxy correctly forwards requests of any type and that client IP addresses are anonymized.

Options

  • skip_headers: If true or 1, the response omits the headers field.
  • raw_headers: If true or 1, the response includes the rawHeaders field with the raw request headers.