This method does not require authentication.
This method is called with HTTP method GET.
This method does not need arguments.
| Element (path) | Name | Type | Description |
|---|---|---|---|
| / | text | array | SUCCESS |
GET http://testapi.wannaprint.com/Rest/1/[API Key]/api/test/
<?php
$api_items = $apicaller->sendRequest(array(
'controller' => 'api',
'action' => 'test'
));
foreach($api_items->text as $text)
{
echo $text;
}
?>
{
"text":["SUCCESS"]
}
001: Wrong API Key002: Failed to parse request011: Controller is invalid.031: Invalid Method