Accessing the REST API
The FortiAuthenticator API can be accessed from most browsers (GET) however browser add-ons may be required for extended operations (e.g. PUT). More complicated, scripted queries can be made using utilities such as cURL and most scripting languages such as Perl or Python have built in libraries for interacting with RESTful APIs.
Example shown within this document will be demonstrated with the cross platform utility cURL.
All of the resource URLs are in this form:
||=||Name or IP of the FortiAuthenticator|
||=||API version to be used (currently v1)|
||=||Resource or part of config to be viewed|
||=||Resource ID to view, edit, or delete|