OINO.cloud APIs support the standard HTTP headers for specifying content types, Content-Type
for the POST/PUT request body and Accept
for GET response data.
For example if you just add a form to your HTML page it will correctly set Content-Type
as application/x-www-form-urlencoded
and Accept
as text/html
to get the API response as HTML.
These headers can be overridden by the oinorequesttype
and oinoresponsetype
query parameters in the request URL for example if you want data in specific format.
The following content types are supported:
null
as an SQL null-value.