AspNetCore.Docs icon indicating copy to clipboard operation
AspNetCore.Docs copied to clipboard

Post requests

Open BlueMarmalade opened this issue 6 years ago • 1 comments

It would be nice to show how to send post requests as well. I'm not even sure how to do it, as there seems to be 2 ways: creating a StringContent type and using PostAsync (l tested this and it works), but also change the verb in the HttpRequestMessage object to post and using the SendAsync (?) as normal (but where is the payload? I don't understand how to do it this way)


Dokumentinformasjon

⚠ Ikke rediger denne delen. Den kreves for koblingen docs.microsoft.com ➟ GitHub-problem.

BlueMarmalade avatar May 11 '20 10:05 BlueMarmalade

Dup of #12580 Hopefully that will be addressed.

Rick-Anderson avatar May 11 '20 19:05 Rick-Anderson