First, install and configure up.
Then clone repo and setup your Airtable API key and base id in up.json
git clone https://github.com/stepankuzmin/airtable-lambda.git
cd airtable-lambda
cp example.up.json up.json
up
This will create a record with Name
and Notes
in Table 1
table of specified AIRTABLE_BASE
base.
curl -X POST -d '{"Name": "", "Notes": "" }' `up url`/Table%201