Airtable. Curl w extension KIO4_Terminal. Show. Create. Update. Delete

Hello friends,

with extension com.KIO4_Terminal.aix we can manage Airtable by curl.

On this web page (Spanish) I have put the basic process:

- Retrieve a record: Antonio (recfHx8HocBaZiY49)

curl - H “Authorization: Bearer YOUR_API_KEY”

- Create a record: Ricardo.

curl -v -X POST -H “Authorization: Bearer YOUR_API_KEY” -H “Content-Type: application/json” --data ‘{ “records”: [ { “fields”: { “Nombre”: “Ricardo”, “Edad”: “29”, “Ciudad”: “Medina Sidonia”, “Puntos”: 8934 } } ], “typecast”: true }’

- Update a record: “Edad” of Antonio.

curl -v -X PATCH -H “Authorization: Bearer YOUR_API_KEY” -H “Content-Type: application/json”
–data ‘{
“records”: [
“id”: “recfHx8HocBaZiY49”,
“fields”: {
“Nombre”: “Antonio”,
“Edad”: “27”,
“Ciudad”: “Cádiz”,
“Puntos”: 5678

- Delete a record: Ricardo. (reclD3Jc5f2zHcmtg)

curl -v -X DELETE -H “Authorization: Bearer YOUR_API_KEY” -G --data-urlencode ‘records[]=reclD3Jc5f2zHcmtg’


Not all Android versions have the command curl, check
curl --version