Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

httpclient post call c# basic authentication

HttpResponseMessage httpResponseMessage = await httpClient.PostAsJsonAsync("/post", request).ConfigureAwait(false);
2
PersonResponse personResponse = await httpResponseMessage.Content.ReadAsAsync<PersonResponse>().ConfigureAwait(false);
Source by nodogmablog.bryanhogan.net #
 
PREVIOUS NEXT
Tagged: #httpclient #post #call #basic #authentication
ADD COMMENT
Topic
Name
2+6 =