http
The blocks in the http group of http connection. If you run an older core, some of them may not be available to you yet.
- 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.
http connection Every block in this main group.