Sujeet Raman

Sujeet Raman

  • 741
  • 915
  • 335.1k

Unable to Test .NET Core 6.0 Web API with Postman, Error Occurs

Jun 23 2023 8:05 AM

I am currently working on a .NET Core 6.0 Web API solution and encountering an error when attempting to test it using Postman. Despite disabling the proxy and exploring various possibilities, I have been unsuccessful in resolving the issue. Additionally, I have noticed that the breakpoint does not hit the controller, and this error occurs beforehand. It is worth mentioning that I am running the API on port 8080, as indicated in the console when the .NET Core application is executed.

I would greatly appreciate any guidance or suggestions on how to troubleshoot and resolve this problem. Thank you in advance for your assistance. below is my reponse

my .net core controller and postman

 


Answers (10)