A
P
I
_
C
A
L
L

<-- Back to Tags

{API_CALL(api_alias, result_alias, path, method, params)}

Used after an API has been set up. For example,

{API_SETUP(API, https://api.example.com, {"username": "USER", "password": "SECRET"}, POST, JSON)}
{API_CALL(API, RESULT, , , {"query": "get_items"})}
Parameters
Number Name Default Type Description
1 api_alias API String The API alias to use.
2 result_alias RESULT String The alias to give the result.
3 path String Path to append to the URL set in {API_SETUP}
4 method String Override the method set in {API_SETUP} here. Accepts GET, POST or can be blank to use the default.
5 params String A JSON object of extra parameters to send with the request.
Log in to add a Comment.