Calls an HTTP function defined on a site. Learn more about HTTP functions.
Requests to this endpoint must include an authorization header whose value is an access token or an API Key . If the site’s HTTP function requires other headers, include those as well.
The HTTP request method for the site’s HTTP function defines which HTTP method to use in your API call. For example, for the HTTP function get_myFunction
, use the GET
method.
https://www.wixapis.com/velo/v1/http/invoke/{functionName}
Name | Type | Description |
---|---|---|
functionName | string | Name of the site’s HTTP function without its method prefix. For example, for the HTTP function get_myFunction , use myFunction . |
Any body parameters supported by the site’s HTTP function.
The response object from the site’s HTTP function.
GET
HTTP function