Tips:
use Custom Fields for configurations - avoid hardcoding.
url, authentication data (clientID, client secrets, username, password, tokens, etc.)
pass parameters as a table
pcall(), Retry Library, log errors
Prepping the body:
json.serialize
tostring() or S()
urlcode.encodeTable - lua table to query string
SSL certificates in net.http.* - Enable TLS/SSL with the Network Client APIs
If you are a more advanced user, refer to our Shell Adapter for how to structure your API client adapters.