Created
April 6, 2021 09:01
-
-
Save xgqfrms/8570bf512c2c111069933bc359e30f0e to your computer and use it in GitHub Desktop.
express.js & FormData
Access to fetch at 'http://localhost:3000/api/post' from origin 'http://10.1.159.45:8088' has been blocked by CORS policy: Request header field content-type is not allowed by Access-Control-Allow-Headers in preflight response.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
express formdata request
https://flaviocopes.com/express-forms/
https://medium.com/cubemail88/node-js-express-js-body-parser-%E8%99%95%E7%90%86multipart-form-data%E7%9A%84%E8%A7%A3%E6%B1%BA%E6%96%B9%E6%A1%88-d89d2699b9f
https://stackoverflow.com/questions/24800511/express-js-form-data
https://www.tutorialspoint.com/expressjs/expressjs_form_data.htm