Read A Variable Endpoint POST
Reads the value of the users' variable by specifying the name of the variable.
Basic Authentication Endpoint
POST
/var/read
content_copy
Authorization Header
This endpoint uses Basic Authentication Authentication for the reading of the variable and its properties.
Parameter
Description
username
The registered username of the account.
password
The registered password of the account.
Bearer Token Authentication Endpoint
POST
/var/read-viatoken
content_copy
Authorization Header
This endpoint uses Bearer Authentication for the reading of the variable and its properties.
Parameter
Description
Bearer
The user's generated token
Request Body Parameters
Parameter
Description
variable_name
The name of the user's saved variable
Responses
Successful Variable Reading
- Status Code: 200 Ok
- Response Body (Sample):
json
{
"last_update"
:
"2024-03-21T04:37:47.981Z"
,
}