i have json file and i want to create asp.net api using that json file.
i have some get methods in json file.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
RituPosted May 18, 2021, 12:26 PM
Varun SetiaPosted May 17, 2021, 3:02 PM
The approach you are trying might not help.
But, you can generate client libraries into C# format using RestSharp Library.
You need to follow 2 steps:
1. Generate client code from Postman, . Here is the reference - https://learning.postman.com/docs/sending-requests/generate-code-snippets/
2. Install and configure Restsharp client using nuget package name - Restsharp.
This approach might help you.
Asma KhalidPosted May 17, 2021, 8:55 AM
RituPosted May 17, 2021, 8:30 AM
Sachin SinghPosted May 16, 2021, 10:55 AM