javascriptnode.jsreactjsthunderclient

In Thunderclient, my API is showing "Processing, Please Wait..." and stuck over here


Image that shows Processing, Please Wait...

I am using JavaScript and node js for configuring backend and I want to perform CRUD operations. What should be the right way to solve this problem?


Solution

  • I found the solution of this question. In index.js file, I need to use app.use(cors()) instead of app.use(cors) . Because of this, My API is not working. Now, after updating this, Its working.