Returns the locale setting for the current session.
Authorization
api_key
cURL
curl -X GET \
'http://localhost/api/locale'
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())