Getting Started
Base URL : https://{omnitron_url}/api/i1/API Authentication
Request POST
import requests
import json
url = "https://{customer_api_url}/api/i1/auth/login/"
headers = {
'Content-Type': 'application/json'
}
data = {
'username': 'Omnitron Username',
'password': 'Omnitron Password'
}
response = requests.post(url, headers=headers, data=json.dumps(data))
print(response.text)Response
Last updated
Was this helpful?

