Blocks within http
List of all the block within the http
group. If you're running an older core version, there may be groups listed here that are not available to you (yet).
object
v10.4.28
Returns all query items if present. Query items may be given in the URI like ?query=yes
.
method value
v10.4.28
Returns current HTTP method for this request (e.g. GET
, POST
, etc).
original url value
v13.0.2
Returns the original URL for this request, before internal routing.
headers object
v10.4.28
Returns all headers known to us in the HTTP request.
remote ip value
v10.4.28
Returns the currently connected user IP.
single header value
v10.4.28
Gets the given header if present in HTTP request.
cookies all object
v12.0.4
Returns all set cookies.
agent object
v10.4.28
Returns the currently connected user agent.
is user allowed to all scopes condition
v10.4.28
Returns true
if the authenticated user has wildcard (*) scope.
request id value
v10.4.16
Returns the unique request ID
get user scopes array
v10.4.28
Returns the authenticated users scope.
get params object
v10.4.28
Returns all params if present, params are optional or required parameters in API URIs, for example :name
.
get body object
v10.4.28
Returns the provided body as object, if the request method is POST
or PUT
.
accepted languages array
v13.0.2
Returns the current HTTP accepted languages.
cookie value
v12.0.4
Returns the cookie with the given name.
is authenticated condition
v10.4.28
Returns true
if the user is indeed authenticated.
Back to
http connection
Return to the main group to view all sub-groups