I use data manipulation plugins to create forms and use the “get” method to get data from endpoints. However there is an error
“Requests
TypeError: Failed to fetch” as shown.
can anyone help me to solve this error, please?
I use data manipulation plugins to create forms and use the “get” method to get data from endpoints. However there is an error
“Requests
TypeError: Failed to fetch” as shown.
@taniaciu21 Check the exact error in the Browser’s Console or Network. It may be CORS restrictions.
If CORS, take a look at
Hello. I’m trying to use Data Manipulation to store information in a local database (postgres), but I have received the following response when I inspect the POST page http://localhost:3002/ net::ERR_CONNECTION_REFUSED FormPanel.tsx: 524
eval@FormPanel.tsx:524
$o @ LoadingBar.tsx:46
o @LoadingBar.tsx:46
Promise.then (async)
$o @ LoadingBar.tsx:46
o @LoadingBar.tsx:46
eval@LoadingBar.tsx:46
eval@LoadingBar.tsx:46
eval@FormPanel.tsx:545
Ne@react-dom.production.min.js:54
Rt@react-dom.production.min.js:54
nn@react-dom.production.min.js:55
Me @ react-dom.production.min.js:105
ye @ react-dom.production.min.js:106
(anonymous) @ react-dom.production.min.js:117
$d @ react-dom.production.min.js:274
Ze@react-dom.production.min.js:52
Br@react-dom.production.min.js:109
Io@react-dom.production.min.js:74
ko @ react-dom.production.min.js:73
@wagner9 Do you run your REST API locally on port 3002? localhost
in the URL means the server runs on the same host as a client (browser).
Connection refused means that the client can’t connect to the server.