Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
91 views
in Technique[技术] by (71.8m points)

node.js - API call using fetch fails

I have a nodejs API set up for my website which works totally fine when I try it with postman. But it doesn't work when I make the API call through my frontend (React) with all the data.

When I view it in the "Networks" tab in Chrome, I see this -

enter image description here

Any idea what's going wrong? Thanks in advance.

question from:https://stackoverflow.com/questions/65891081/api-call-using-fetch-fails

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...