happybara-io / WorkflowBuddy

The missing pieces of Slack Workflow Builder.
GNU Affero General Public License v3.0
27 stars 4 forks source link

[Outgoing Webhooks] Allow user to edit the request headers #24

Closed I-Dont-Remember closed 1 year ago

I-Dont-Remember commented 1 year ago

There are plenty of cases where a request will need an Authorization header - and currently people are dead in the water with our Webhooks.

For example, trying to create records using the Airtable API, you'll need to pass:

curl -X POST https://api.airtable.com/v0/3243554543/Table%201 \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  --data '{
  "records": [
    {
      "fields": {}
    },
    {
      "fields": {}
    }
  ]
}'