1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
2
Postman does not implement the CORS restriction which are instead a native security browser mechanism.
You should implement CORS at server/backend layer, by allowing the caller (origin) to consume the rest endpoint.
Contenus pertinents
- demandé il y a 9 mois
- demandé il y a un an
- demandé il y a 3 mois
- AWS OFFICIELA mis à jour il y a 5 mois
Thanks Antonio. We enabled CORS at the resource level in the API. Is that not sufficient? What do you mean by 'implement CORS at server/backend layer'? The backend of the specific method is an ECS service with Node.js runtime.
I meant that for Instance, if you use express as backend server, you should look into enabling cors like this: https://expressjs.com/en/resources/middleware/cors.html. Try out and let me know ;)