How do you fix you need to enable JavaScript to run this app in .NET Core

Share

Error:

In Postman,



Solution worked for me:

I developed a simple GET API endpoint and was trying to hit it from my client app as well as from Postman. But it hasn’t worked. I wasted a few hours searching for the solution, but nothing worked.

In the end, I found that the API endpoint path was not added to ClientApp’s SetupProxy.js file. Once you configure your controller path to the setupproxy.js file, this error will get resolved.

I hope this will resolve your issue.


Share

Leave a Comment