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

514 Views Asked by At

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?

2

There are 2 best solutions below

0
Mohit Wayde On BEST ANSWER

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.

1
Prashant Singh On

Maybe response is missing ,cross check if you are sending res.json or any response after api hit.