- Mocked endpoint: https://run.mocky.io/v3/a89f3fb6-a34c-4ca1-9854-bbf97a108d45
- Using passthrough (without manipulation):
curl "https://ocywyw3jq5.execute-api.us-east-1.amazonaws.com/dev/api/just-passthrough" -H "Authorization: Basic <base64encodeduserpassword>"
- Using passthrough (manipulating response payload):
curl "https://ocywyw3jq5.execute-api.us-east-1.amazonaws.com/dev/api/passthrough-extract-json" -H "Authorization: Basic <base64encodeduserpassword>"
- Using lambda function to process request:
curl "https://ocywyw3jq5.execute-api.us-east-1.amazonaws.com/dev/api/using-lambda" -H "Authorization: Basic <base64encodeduserpassword>"
- Using mocked response (no backend):
curl "https://ocywyw3jq5.execute-api.us-east-1.amazonaws.com/dev/api/using-mock" -H "Authorization: Basic <base64encodeduserpassword>"
- https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-mock-integration.html
- https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-mapping-template-reference.html
- https://aws.amazon.com/blogs/compute/amazon-api-gateway-mapping-improvements/
- https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-override-request-response-parameters.html
- https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-export-api.html
- https://medium.com/@Da_vidgf/http-basic-auth-with-api-gateway-and-serverless-5ae14ad0a270