1개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
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.
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.
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 ;)