Skip to content

Instantly share code, notes, and snippets.

@ByteDev
Created July 16, 2021 09:45
Show Gist options
  • Save ByteDev/83ebc7957363d667d5412e740c925dce to your computer and use it in GitHub Desktop.
Save ByteDev/83ebc7957363d667d5412e740c925dce to your computer and use it in GitHub Desktop.
var request = new HttpRequestMessage(HttpMethod.Post, "api/orders");

request.Content = new JsonContent(json);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment