skip to Main Content

Amazon web services – Unable to fetch, HTTP POST method, AWS

I have an AWS lambda funtion. It works well and returns the following: return { statusCode: 200, headers: { 'Access-Control-Allow-Origin': '*', 'Access-Control-Allow-Credentials': true, 'Access-Control-Allow-Headers': 'Content-Type', 'Access-Control-Allow-Methods': 'OPTIONS, PUT, POST, GET, DELETE', }, body: JSON.stringify('Success'), }; I created an API Gateway…

VIEW QUESTION

Amazon web services – Why API Gateway allows invalid dates

In AWS API Gateway, I have a model like this: { "required" : [ "validUntil" ], "type" : "object", "properties" : { "validUntil" : { "$ref":"https://apigateway.amazonaws.com/restapis/xxxyyyzzz/models/Timestamp" }, "deadline" : { "$ref":"https://apigateway.amazonaws.com/restapis/xxxyyyzzz/models/Date" } } } When I pass a request with…

VIEW QUESTION

Can I set up Docker & APISIX gateway?

I am trying to create a APISIX gateway for my microservice. I have used the docker to install APISIX gateway using the apisix documentation Getting started (https://apisix.apache.org/docs/apisix/getting-started/README/) Version 3.3.0. It works for route: curl -i "http://127.0.0.1:9180/apisix/admin/routes" -X PUT -d '…

VIEW QUESTION
Back To Top
Search