Update README.md

This commit is contained in:
Alex Lushpai 2017-10-30 13:48:53 +03:00 committed by GitHub
parent bd349a83d6
commit 2433e24250
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,7 +27,7 @@ Response response = api.OrdersGet("12345", "externalId");
if (response.isSuccessful()) {
Debug.WriteLine(Response.GetRawResponse());
} else {
Debug.WriteLine($"Ошибка получения информации о заказа: [Статус HTTP-ответа {response.GetStatusCode().ToString()}]");
Debug.WriteLine($"Ошибка: [Статус HTTP-ответа {response.GetStatusCode().ToString()}]");
}
```
@ -67,7 +67,7 @@ Response response = api.OrdersCreate(new Dictionary<string, object>
if (response.isSuccessful()) {
Debug.WriteLine(Response.GetResponse()["externalId"].ToString());
} else {
Debug.WriteLine($"Ошибка получения информации о заказа: [Статус HTTP-ответа {response.GetStatusCode().ToString()}]");
Debug.WriteLine($"Ошибка: [Статус HTTP-ответа {response.GetStatusCode().ToString()}]");
}
```