Community
api's doesnt work with asp.net mvc 4.8
12 months ago by Sandeep Kulkarni
I'm currently using RestSharp in a C# web application with ASP.NET MVC 4.8. I've encountered an issue with the GET request – it doesn't seem to work as expected. Additionally, I'd like guidance on handling POST and PATCH requests.
Only thing i get from the response is
ErrorMessage = "An error occurred while sending the request."
Interestingly, when I use the exact same code in either a console application or a Windows app, everything works seamlessly for both GET and PATCH operations.
Could you please provide insights on how to address this issue and ensure smooth functionality in my web application?