Contributor
6051 Points
2515 Posts
Jun 14, 2020 04:18 AM|KathyW|LINK
Did you try using postman's code snippet creator?
When you have code working in postman, use the code snippet generator: https://learning.postman.com/docs/postman/sending-api-requests/generate-code-snippets/
For its C# results, it lists the RestSharp library as needed: http://restsharp.org/
Contributor
6051 Points
2515 Posts
Re: Post request worked in Postman but would not work in C#
Jun 14, 2020 04:18 AM|KathyW|LINK
Did you try using postman's code snippet creator?
When you have code working in postman, use the code snippet generator: https://learning.postman.com/docs/postman/sending-api-requests/generate-code-snippets/
For its C# results, it lists the RestSharp library as needed: http://restsharp.org/