HTTP
Code
lookup an HTTP status code
Calling Sequence
Parameters
Description
Examples
Compatibility
Code(value)
value
-
a three digit integer value of an HTTP return code
Code returns the text message that corresponds to the status code of the value parameter. The procedure will throw an error if an unknown or invalid status code is given.
A list of valid HTTP/1.1 status codes can be found in section 10 of RFC 2616.
HTTP:-Code⁡200
OK
HTTP:-Code⁡404
Not Found
HTTP:-Code⁡1
Error, (in HTTP:-Code) unknown HTTP status code, 1
The HTTP[Code] command was introduced in Maple 15.
For more information on Maple 15 changes, see Updates in Maple 15.
See Also
HTTP[Get]
HTTP[Post]
Download Help Document