Linked Questions

0 votes
1 answer
4k views

I have made an API using AWS API Gateway that fires a Lambda function at a PostgreSQL RDS. When I call the API from my Angular application, I get the following error. Access to XMLHttpRequest at 'URL' ...
Nooh Ahamad's user avatar
0 votes
0 answers
21 views

I have an application with Front end : vue.js and AWS Amplify APIs with AWS API Gateway and Lambda DB : DynamoDB I am able to access my get method through my browser, but through my vue application ...
krisrr3's user avatar
  • 97
3365 votes
9 answers
6.6m views

Mod note: This question is about why XMLHttpRequest/fetch/etc. on the browser are subject to the Same Access Policy restrictions (you get errors mentioning CORB or CORS) while Postman is not. This ...
Mr Jedi's user avatar
  • 34.8k
1655 votes
21 answers
2.8m views

Apparently, I have completely misunderstood its semantics. I thought of something like this: A client downloads JavaScript code MyCode.js from http://siteA - the origin. The response header of MyCode....
mark's user avatar
  • 63.6k
519 votes
12 answers
856k views

I have a setup involving Frontend server (Node.js, domain: localhost:3000) <---> Backend (Django, Ajax, domain: localhost:8000) Browser <-- webapp <-- Node.js (Serve the app) Browser (...
ixaxaar's user avatar
  • 6,829
22 votes
10 answers
26k views

I have created an API endpoint with Serverless(serverless.com) which I expose through API Gateway. I'm getting following error though I have enabled CORS from the XMLHttpRequest cannot load https:...
Milindu Sanoj Kumarage's user avatar
3 votes
7 answers
27k views

I am facing this error XMLHttpRequest error. while making an HTTP post call to my API-AWS API Gateway. My current Flow is Flutter web -> API gateway -> lambda -> rds. I know there are already ...
Atul Chaudhary's user avatar
2 votes
2 answers
3k views

This url is in AWS API Gateway with method get and stage is well deployed. And I enabled CORS following the aws document. Here are my steps to enable CORS. -Resource->action->enable CORS-> default ...
Cenxui's user avatar
  • 1,403
6 votes
2 answers
3k views

I have seen posts about this but no questions or answers that match my problem closely enough to provide a valid answer. I can not send requests to the API through my browser. The problem, as far ...
Kevin's user avatar
  • 2,432
3 votes
1 answer
2k views

While checking out logs for a production app I noticed many failed HTTP requests with responses containing the status codes of 0 and -1. What is the difference between the status codes 1 and 0? I ...
Brad C's user avatar
  • 3,022
2 votes
1 answer
3k views

I'm trying to enable CORS for a Lambda function written in Go and below are my configuration and code. Here's my SAM config... AuthBindApi: Type: AWS::Serverless::Api Properties: ...
j3d's user avatar
  • 9,832
1 vote
1 answer
3k views

I have AWS lambda function that I am trying to call from my web app using Axios. It keeps giving the error: 'http://localhost:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' ...
Daniel Edwards's user avatar
1 vote
2 answers
1k views

I am struggling with the CORS error. I've deployed a backend using APIGATEWAY. It works properly via POSTMAN at the https://APIGATEWAY_URL I've deployed a web app using CLOUDFRONT, and it works too, ...
sam's user avatar
  • 41
2 votes
1 answer
868 views

I'd like to be able to configure API Gateway Responses via serverless framework... This is what my serverless.yml looks like: #Deploy an api gateway with custom responses. --- service: test-apigw ...
David Merinos's user avatar
2 votes
1 answer
2k views

I have an AWS Lambda function that I've set up and am attempting to hit from the front end. It works fine in browser, and returns the response I expect. When I try to hit it from localhost, I get a ...
user avatar

15 30 50 per page