Fortinet black logo

API examples

API examples

You can access the API from most browsers using the GET method.

The examples in this chapter make requests using cURL, which is more flexible than using a browser alone, works across platforms, and most scripts can call it. Using cURL is not as flexible as native scripting languages, but it is useful for illustrating how the API functions.

API examples

You can access the API from most browsers using the GET method.

The examples in this chapter make requests using cURL, which is more flexible than using a browser alone, works across platforms, and most scripts can call it. Using cURL is not as flexible as native scripting languages, but it is useful for illustrating how the API functions.