Home     ReadMe   Plans You need to log in --> login

API Make Request

Make an API request for a user via an API and capture the response

Arguments:
- "api_service" (string - API service name as you called it when adding it to ProcFu on the account page)
- "user_id" (string - some internal reference for the user that you'll use in future calls for this user)
- "request_url" (string - url of endpoint to call)
- "method" (string - GET, POST, etc)
- "headers" (string - optional headers to send - comma-separated for multiple (if blank, defaults to Content-type: application/json,Accept: application/json))
- "body" (text - optional JSON body for requests)

Returns:
whatever the API returns - or false

NB: Don't forget to set your headers and use POST (not GET) for the arguments !!!

Try it out

headers:
POST url:
api_service:
user_id:
request_url:
method:
headers:
body:
You are not logged in
output: