Skip to main content
Skip table of contents

Localization

Localization

Localization is applied to each request individually. You can change the localization in the following ways:

  1. Include the 'hl' header in the request with the desired localization

  2. Include the 'hl' field in the request body or query parameters. If both the header and the parameter are provided simultaneously, the header takes priority

  3. If neither 1 nor 2 is provided, the default localization will be used

cURL
BASH
curl -k --request POST \
	--url 'https://your-domain' \
	--header 'Content-Type: application/json' \
	--header 'Accept: application/json' \
	--data '[]'
PHP
PHP
$data = array (
);
$context = stream_context_create([
	'ssl'=>['verify_peer' => false],
	'http' => [
		'method' => '/',
		'header' => "Content-Type: application/json\r
Accept: application/json",
		'content'=>json_encode($data)
	]
]);
$result = file_get_contents('https://your-domain', false, $context);
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.