top of page

The function name begins with a prefix that determines the HTTP method (get, post, push, or delete) it handles followed by an underscore "_"

Catch all functions that handle multiple HTTP methods begin with the prefix "use"

 

Requests (incoming JSON) to an HTTP function are passed to the function in the request parameter.

The request often contains information the consumer of your API is sending you.

You decide if the request is received via the path, query, headers and/or body

 

To send a response (outgoing JSON) to the caller of your HTTP function, you typically use one of the functions listed below, like ok() or notFound()

You can also create a response using the generic response() function. The response can contain headers and a body if needed.

 

The endpoint URL is: https://www.{user_domain}/_functions/{functionName}

Add HMAC velo package validation for increased security

bottom of page