1

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?

Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129

2 Answers2

0

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

0

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.