Fixed usage php example

This commit is contained in:
Joris van de Sande 2015-08-09 21:24:21 +02:00
parent 8ce264b2a0
commit 0c9121ec32

View File

@ -32,7 +32,7 @@ $apiClient->statistics('default');
// or call any API url via the get and post methods:
$apiClient->get('/api/self');
$apiClient->post('/api/s/default/cmd/stamgr', ['cmd' => 'block-sta', 'mac':'01:01:01:01:01:01'])
$apiClient->post('/api/s/default/cmd/stamgr', ['cmd' => 'block-sta', 'mac' => '01:01:01:01:01:01']);
// logout
$apiClient->login('your_username', 'your_password');