1
0
mirror of synced 2024-11-22 05:16:07 +03:00

Update README.md

This commit is contained in:
Ilyas Salikhov 2014-11-07 11:34:54 +03:00
parent 19b483dacb
commit 91955b3ee4

View File

@ -46,6 +46,11 @@ if ($response->isSuccessful()) {
$response->getStatusCode(), $response->getStatusCode(),
$response->getErrorMsg() $response->getErrorMsg()
); );
// получить детализацию ошибок
//if (isset($response['errors'])) {
// print_r($response['errors']);
//}
} }
``` ```
@ -83,5 +88,10 @@ if ($response->isSuccessful() && 201 === $response->getStatusCode()) {
$response->getStatusCode(), $response->getStatusCode(),
$response->getErrorMsg() $response->getErrorMsg()
); );
// получить детализацию ошибок
//if (isset($response['errors'])) {
// print_r($response['errors']);
//}
} }
``` ```