Skip to content

Instantly share code, notes, and snippets.

@xgqfrms
Created April 6, 2021 09:01
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xgqfrms/8570bf512c2c111069933bc359e30f0e to your computer and use it in GitHub Desktop.
Save xgqfrms/8570bf512c2c111069933bc359e30f0e to your computer and use it in GitHub Desktop.
express.js & FormData

express.js & FormData

@xgqfrms
Copy link
Author

xgqfrms commented Apr 6, 2021

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.

@xgqfrms
Copy link
Author

xgqfrms commented Aug 19, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment