FortiFlex Points Calculator
Anatomy of a REST API Query- >
- 1. Introduction >
- Learning Modules >
- FortiFlex >
- FortiFlex API
FortiFlex API

- REST – Representational State Transfer - https://restcookbook.com/ good explanations
- HTTP Protocol and REST Architecture are intertwined
- The HTTP Response Codes are (should be) indicative of the status of the REST API call
- REST APIs are typically REST-ish as they do not fully/correctly implement the REST Architecture
- REST call Operations can be defined by a combination of Idempotency and Safety
- Most Common REST API calls – Idempotency: when then same request provides the same results or state
HTTP Method | Idempotent | Safe |
---|
GET | | |
POST | | |
PUT | | |
DELETE | | |
PATCH | | |
- FortiFlex API is REST-ish
- All FortiFlex API calls are POSTs, some calls should be GETs or PUTs
Anatomy of a REST API Query
