setRequestMethod

The setRequestMethod() method sets the method used for requests. The default is beacon.

Syntax

setRequestMethod(method)
Not available
Not available
Not available
Not available
Not available
Not available

Parameters

method (string, required)

The method used for requests. It can be: GET, POST or beacon.

Examples

To set the request method to POST:

_paq.push(["setRequestMethod", "POST"]);
Not available
Not available
Not available
Not available
Not available
Not available

Related methods