Bridge - Error with POST call to API - Invalid Body

abrae005
abrae005 ✭✭
edited 04/02/24 in API & Developers

I'm trying to make a post call to an API using the "Call API" action within Bridge. Unfortunately, every time I try this action, it fails with an "Invalid Payload" response. I've tested the payload in Postman, and it seems to be working correctly.

The API I'm using is a "POST" to a Slack Webhook. (It will automatically post in a specific channel when correctly formatted data is posted to that particular URL.)

I've tried running the body through a Compose String, I've tried pasting it straight into the "HTTP Request Body" field, and I've even tried simplifying it as much as possible, to basically a one word post with no formatting.

Slack Webhook URLs include the auth information in the POST URL, so there is no need to add additional headers.


Screenshot from postman - this works


Best Answer

Answers