# Lambda

AWS Lambda supports built-in API gateway functionality. In other words, we
don't need to wire up lambda and API Gateway together, everything can be
configured in the lambda control panel.


Endpoint:

POST https://34rzd8r456.execute-api.us-east-1.amazonaws.com/dev/FTMicrositeContactForm


Payload:

JSON string with keys: name, role, comment, optin

example:

	{
		"name": "Glenn",
		"role": "Software Engineer",
		"comment": "Testing",
		"optin": "no"
	}

You can test the lambda functionality by running `lambda_contact_form.py` in
the command line.


# Other scripts

Other scripts not starting with `lambda_` are for the CLI. Parameters can be
provided by the terminal once they are run. Example

```
% ./get_csv_url.py 
Expiration (in days): 
```
