Logo

Docs

  • HOME

CompositeApi

Functions for composite API

Methods

P_custom_header(name, value)

Set an HTTP header for the response of a composite API

Parameters:
Name Type Description
name string Name of the header
value string Value of the header

set_status(code, name, description)

Set the return HTTP status of a composite API.

Parameters:
Name Type Argument Description
code integer Numerical value of the code. It is strongly recommended to use a valid HTTP code. See the W3C specification for more information on status code standard definition.
name string <optional>
Customized name of the status
description string <optional>
Customized description for the status
See:
  • http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
Example
${set_status(200)}
		${set_status(200,"Success","Your own description")}
  

Index

  • Application

  • Collections

  • CompositeApi

  • File

  • Request

  • User

  • Utilities


© Akorbi Digital RMP. All Rights Reserved - Legal terms - Contact