Exposes POST URI on /api/
/api/
, e.g. customers/get/all
will become /api/{version}/customers/get/all
.v1
true
, we'll automatically lowercase all JSON root-body keys. userName
will become username
.false
Exposes URI on /api/. Accepts a multipart/form-data POST request and saves the attached file.
5242880 bytes (5MB)
application/json
skip_response_body_log
200
text/xml
skip_response_body_log
Updates the connection to a new endpoint if the client allows following redirects.
302
back
to redirect to the referer.Runs the given function per field for easier validation. By default it makes a field required. Function return values can be condition, value (error)
Returns true
if the authenticated user has wildcard (*) scope.
Returns true
if the user is indeed authenticated.
Returns all set cookies.
Returns all query items if present. Query items may be given in the URI like ?query=yes
.
Writes part of a response to the client. After the whole response has been streamed, we need to call end stream.
text/plain
Returns the provided body as object, if the request method is POST
or PUT
.
Exposes GET URI on /api/
/api/
, e.g. customers/get/all
will become /api/{version}/customers/get/all
.v1
Exposes URI on /api/
/api/
, e.g. customers/get/all
will become /api/{version}/customers/get/all
.v1
true
, we'll automatically lowercase all JSON root-body keys. userName
will become username
.false
Exposes URI on /api/
/api/
, e.g. customers/get/all
will become /api/{version}/customers/get/all
.v1
true
, we'll automatically lowercase all JSON root-body keys. userName
will become username
.false
Exposes URI on /api/
/api/
, e.g. customers/get/all
will become /api/{version}/customers/get/all
.v1
true
, we'll automatically lowercase all JSON root-body keys. userName
will become username
.false
text/plain
200
text/xml
skip_response_body_log
Updates the status code
callback
Returns current HTTP method for this request (e.g. GET
, POST
, etc).
Returns all params if present, params are optional or required parameters in API URIs, for example :name
.
Ends the current open stream with the client.
Updates the default connection timeout of 120 seconds
1
and 600
. We currently do not allow connections to exceed 10 minutes of wait time.Returns the cookie with the given name.