HTTPS
UbiFunctions can be invoked using either an HTTP POST or GET request.
Method
URL
Args
Response
POST
Function's URL
  • You can send an arbitrary JSON inside the HTTP body, which will be included in the "args" variable inside the function.
  • Any URL parameters (i.e. ?arg1=value1&arg2=value2) will be parsed and included into the "args" variable as well.
Defined inside your function
GET
Function's URL
  • No HTTP body is expected
  • You can send URL parameters (i.e. ?arg1=value1&arg2=value2), which will be parsed and included into the "args" variable.
Defined inside your function
Copy link