From c7e7664f30d873e31e755b1ca7916bf2858c447a Mon Sep 17 00:00:00 2001 From: Alex Lushpai Date: Mon, 28 Nov 2016 20:58:08 +0300 Subject: [PATCH] update readme --- README.md | 4 ++-- README.ru.md | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 61a8b7e..9ef9ec2 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ if (response.isSuccessful()) { } else { System.Console.WriteLine( "Error: [HTTP-code " + - response["statusCosde"] + "] " + + response["statusCode"] + "] " + response["errorMsg"] ); } @@ -127,7 +127,7 @@ catch (WebException e) System.Console.WriteLine(e.ToString()); } -if (response.isSuccessful() && 201 == response["statusCosde"]) { +if (response.isSuccessful() && 201 == response["statusCode"]) { System.Console.WriteLine( "Order created. Order ID is " + response["id"] ); diff --git a/README.ru.md b/README.ru.md index 680e7ad..a4e58f1 100644 --- a/README.ru.md +++ b/README.ru.md @@ -54,7 +54,7 @@ if (response.isSuccessful()) { } else { System.Console.WriteLine( "Ошибка получения информации о заказа: [Статус HTTP-ответа " + - response["statusCosde"] + "] " + + response["statusCode"] + "] " + response["errorMsg"] ); } @@ -127,14 +127,14 @@ catch (WebException e) System.Console.WriteLine(e.ToString()); } -if (response.isSuccessful() && 201 == response["statusCosde"]) { +if (response.isSuccessful() && 201 == response["statusCode"]) { System.Console.WriteLine( "Заказ успешно создан. ID заказа в retailCRM = " + response["id"] ); } else { System.Console.WriteLine( "Ошибка создания заказа: [Статус HTTP-ответа " + - response["statusCosde"] + "] " + + response["statusCode"] + "] " + response["errorMsg"] ); }