ok
This function will always return ok
HTTP Method: | GET | |
---|---|---|
Parameters: | sid | session id timeouts |
Return errors
Error code | HTTP response code | Description |
---|---|---|
1 | 400 (Bad request) | Function was not performed, because all required parameters were not entered. Reply portion reply is empty. |
3 | 403 (Forbidden) | Function call failed, invalid sid parameter. Create new sid using /api/login function. Reply portion reply is empty. |
CURL
curl "https://admin.hosting90.eu/api/ok?sid=%sid%"
PHP Library
$api->ok(array());
Example of data output
<?xml version="1.0" encoding="UTF-8"?>
<reply>
<status>
<code>0</code>
<text>OK</text>
</status>
</reply>