# Packages
No description provided by the author
# README
HTTP Simple for Go
HTTP Simple Server
AWS Lambda Manual Setup
- AWS Lambda Function Configuration
- Create AWS Lambda function
- Set
SimpleServer.HttpEngine
toawslambda
, e.g. using environment variable - Set Handler to
main
- API Gateway Configuration
- Create "REST" API
- Select "New API"
- Select "Actions" > "Create Resource"
- Click "Configure as proxy resource"
- Use Resource Path
{proxy+}
- Click "Enable API Gateway CORS"
- Click "Create Resource"
- Leave "Integration Type" as "Lambda Function Proxy"
- In "Lambda Function", paste in your Lamda ARN
- Click "Deploy API" and create stage if necessary
- Test with cURL against Stage Invoke URL
- API Gateway API Key
- Create API Key
- Create Usage Plan
- Add API Stage by Selecting API Gateway, Stage, and clicking checkmark icon.
- Click "Next".
- Add API Key, click checkmark icon, click "Done"
- Click on API Gateway
{proxy+}
endpoint, click onANY
- Click on "Method Request"
- Click edit icon by "API Key Required", change to true, click checkmark icon
- Select "Deploy API"
- Test with cURL and
X-API-Key
header