1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
This means that you are not including Content-Type
in the list of headers included in the access-Control-Request-Headers
header in your HTTP OPTIONS request.
CORS can be complex - you need to reply to that OPTIONS request (a CORS PreFlight Request) with a response that includes a Access-Control-Allow-Headers
header that lists the headers out of Access-Control-Request-Headers
that you would allow to be used in future CORS requests.
Refer too https://fetch.spec.whatwg.org/#http-cors-protocol for detail on how this works.
Contenus pertinents
- demandé il y a un an
- demandé il y a un an
- demandé il y a 7 mois
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 3 ans
- AWS OFFICIELA mis à jour il y a 2 ans