API request general information
FortiToken Cloud API is based on Hypertext Transfer Protocol (HTTP 1.1 and later). The message includes:
- HTTP method
- HTTP URL
- HTTP header and HTTP body
The supported HTTP body format is .JSON. Not all the aforementioned components are required for all HTTP methods, as indicated in the following table:
HTTP Method | RFC | Request Body | Response Body |
---|---|---|---|
GET | RFC 7231 | No | Yes |
POST | RFC 7231 | Yes | Yes |
PUT | RFC 7231 | Yes | Yes |
DELETE | RFC 7231 | No | No |