Function API Call Syntax

Hi
Im trying to make an API POST Call to my flowise (langchain) server for functions to grab some info

The POST Call works fine in Postman and all other apps im using it in but I cant seem to get this working inside of Vapi functions

How do you make a basic POST API endpoint call to an external server and pass the raw body json??

Ive tried the make node and put my server url in and also the custom server options but theres no option I can see for raw POST calls using content application/json

Now I can call this via python or javascript code but dont know what Vapi uses

Heres a curl example - you cant test this ive hidden my server url.

Can share via private messaging thanks


curl https://xxxxx/api/v1/prediction/3a7c028d-df12-435d-a232-xxxx \
-X POST \
-d '{"question": "Hey, how are you?"}' \
-H "Content-Type: application/json"
Was this page helpful?