1 Respuesta
- Más nuevo
- Más votos
- Más comentarios
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.
Contenido relevante
- OFICIAL DE AWSActualizada hace 5 meses
- OFICIAL DE AWSActualizada hace 2 años
- OFICIAL DE AWSActualizada hace 2 años
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 ;)