http connection
41 blocks in 5 groups. Open a block for its pins, an example and how it behaves.
api
- on api delete
execute_functionv10.3.2Exposes URI on /api/ - on api file upload
execute_functionv15.0.0Exposes URI on /api/. Accepts a multipart/form-data POST request and saves the attached file. Also accepts resumable (tus 1.0.0) uploads, so a client on a flaky connection continues where it stopped instead of starting over; the function runs once, when the whole file has arrived. Supports its own rate limit and lock (serialisation) through the pins below. - on api put
execute_functionv10.3.2Exposes URI on /api/ - on api post
execute_functionv10.3.2Exposes POST URI on /api/ - on api patch
execute_functionv10.3.2Exposes URI on /api/ - on api get
execute_functionv10.3.2Exposes GET URI on /api/
connection
http
- cookies all
objectv12.0.4Returns all set cookies. - cookie
valuev12.0.4Returns the cookie with the given name. - is user allowed to all scopes
conditionv10.4.28Returnstrueif the authenticated user has wildcard (*) scope. - remote ip
valuev10.4.28Returns the currently connected user IP. - method
valuev10.4.28Returns current HTTP method for this request (e.g.GET,POST, etc). - get query
objectv10.4.28Returns all query items if present. Query items may be given in the URI like?query=yes. - get body
objectv10.4.28Returns the provided body as object, if the request method isPOSTorPUT. - single header
valuev10.4.28Gets the given header if present in HTTP request. - accepted languages
arrayv13.0.2Returns the current HTTP accepted languages. - request id
valuev10.4.16Returns the unique request ID - original url
valuev13.0.2Returns the original URL for this request, before internal routing. - is authenticated
conditionv10.4.28Returnstrueif the user is indeed authenticated. - headers
objectv10.4.28Returns all headers known to us in the HTTP request. - get raw body
valuev15.0.0Returns the request body exactly as received on the wire, as a string — the bytes an HMAC signature covers. Use this (never a re-serialized object) when verifying signature headers likeX-Mssgs-Signature. - get user scopes
arrayv10.4.28Returns the authenticated users scope. - get params
objectv10.4.28Returns all params if present, params are optional or required parameters in API URIs, for example:name. - device info
objectv10.4.28Returns the currently connected users device info.
response
- redirect to page
httpconnectionv10.4.28Updates the connection to a new endpoint if the client allows following redirects. - enable response body log
httpconnectionv13.0.5Enables the logging of the response body - reply in jsonp
httpconnectionv10.4.28 - end writestream
httpconnectionv10.4.28Ends the current open stream with the client. - reply with xml
httpconnectionv13.0.5Return to any httpconnection with XML content - reply in json
httpconnectionv15.0.0Reply to any httpconnection as JSON body - set status code
httpconnectionv10.4.28Updates the status code - timeout
httpconnectionv10.3.11Updates the default connection timeout of 120 seconds - reply with file
httpconnectionv12.1.1reply to http connection with a file - redirect
httpconnectionv10.4.28Updates the connection to a new endpoint if the client allows following redirects. - enable request body log
httpconnectionv13.0.5Enables the logging of the request body - reply with xml from json
httpconnectionv13.0.5Reply to any httpconnection with XML using a JSON object - disable response body log
httpconnectionv13.0.5Disables the logging of the response body if it has been previously enabled - disable request body log
httpconnectionv13.0.5Disables the logging of the request body if it has been previously enabled - reply in text
httpconnectionv10.4.28reply a http connection with text - write to stream
httpconnectionv10.4.28Writes part of a response to the client. After the whole response has been streamed, we need to call end stream.