SensusRF gateway user manual
| 29/10/2019
17.2.1.1 Request
REQUEST
TAG DESCRIPTION
Scheme https://<GATEWAY IP>/api/auth
HTTP Method POST
Parameters Username; Password
Example:
POST /api/auth HTTP/1.1
Content-Length: 29
Host: 192.168.7.2
Content-Type: application/x-www-form-urlencoded
username=admin&password=admin
17.2.1.2 Response
RESPONSE
TAG DESCRIPTION
api_version The version of the GATEWAY REST API
request_status The status of the request
jwt The authorization token
Example:
HTTP/1.1 200 OK
X-Powered-By: CAS_GATEWAY
Server: CAS_GATEWAY
Content-type: text/html; charset=UTF-8
Content-Length: 359
Date: Wed, 14 Aug 2019 19:08:01 GMT
{
"api_version":"1.0",