Skip to content

Returns the locale setting for the current session.

GET
/api/locale

Authorizations

Responses

Successful

Samples

cURL
curl -X GET http://localhost/api/locale
JavaScript
fetch("http://localhost/api/locale")
  .then(response => response.json())
  .then(data => console.log(data));
PHP
file_get_contents("http://localhost/api/locale");
Python
import requests
response = requests.get("http://localhost/api/locale")
print(response.json())