Простая проверка HTTP кода ответа

response.EnsureSuccessStatusCode()

Тип запроса (по содержимому)

MimeC# content
text/plainclass StringContent
application/x-www-form-urlencodedclass FormUrlEncodedContent
multipart/form-dataclass MultipartFormDataContent
  
Теги:
Создал(а) Alexandr Fokin 2022/07/20 15:04