Connection

Using the access token from the authentication step, you can then place calls to the IQ RestAPI located at the following addresses.

Endpoint URL
Empower Hub Sdn Bhd (Production) https://????.em2.asia
Empower Hub Sdn Bhd (Customer Test Environment) https://????.em2.asia

The token type and the access token should be added as an authorization header of the request.

Example

POST http://????.em2.asia/query HTTP/1.1
Host: ????.em2.asia
Authorization: Bearer eyJhbGc...44RHE
Content-Type: text/plain; charset=utf-8
User-Agent: ExampleApp/1.0

Requests should provide the User-Agent header with, at minimum, the Application ID and version information, as this makes answering support queries easier.