Answer the question
In order to leave comments, you need to log in
How to send parameters to HttpClient?
Good afternoon, I started to study POST / GET requests. There were difficulties with sending a POST request with parameters
Please discard an example, nothing is really described in Google - hands are completely down ((
URL: urlExample.ru
Authorization: Bearer [token]
Accept: application/json
Content-type: application/json
Parameter: kod =44789
If it's not difficult to comment on the lines, many thanks in advance.
Answer the question
In order to leave comments, you need to log in
You took too low-level thing.
Take something higher for example HttpClient
Here are a couple of examples zetcode.com/csharp/httpclient
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question