Authentication
The OmniFi APIs supports Basic authentication.
Basic authentication
Basic authentication involves passing user password credentials in the request HTTP header and is useful for accessing the API from scripts and interfaces, or when the client is not in the same domain as the API service.
Most client applications e.g. the Edge web browser or Microsoft PowerBI supports basic authentication natively and will display a login screen when challenged with an authentication request from the API server.
If you are using the API from a custom script, append a value to the HTTP GET request header:
| Key | Value |
|---|---|
| Authorization | Basic <AUTH> |
AUTH is a string on the form user:password, Base64 encoded.
Updated 3 days ago