FortiFlex API

FortiFlex Points Calculator

  • 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 MethodIdempotentSafe
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