Airtable API Node.JS and Insomnia


#1

Hi,

I’m trying to use Insomnia to debug my API requests, but I’m not getting very far with Node.JS…

If I go to the API docs and grab the Node.JS (with our key) and paste it into the body section of Insomnia as “JSON Raw Text” and send it using https://api.airtable.com/v0 as the base URL with GET, I get “invalid request body” in return.

What do I need to turn the node.js code from the API docs into a usable JSON request body?

Thanks!

-Donald