Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
Diabolicus23
New Contributor

API examples

Could someone provide me a sample page that uses the API?

Just to say, a page that lists all the localusers...

4 REPLIES 4
Carl_Windsor_FTNT

Have you tried the examples in the API Guide?  

 

http://docs.fortinet.com/d/fortiauthenticator-rest-api-solution-guide-2/download

 

They utilize cURL to give you a generic overview of how to call the API that you can then use in the scripting language of your choice.

 

Dr. Carl Windsor Field Chief Technology Officer Fortinet

Diabolicus23
New Contributor

The problem is that I don't know how to integrate those infromation with a, just to say, asp page in order to obtain my example 

Carl_Windsor_FTNT

I have some sample Perl Scripts but unless you have some knowledge of CGI / Scripting you will struggle.  PM me if you want to see the example. 

Dr. Carl Windsor Field Chief Technology Officer Fortinet

Diabolicus23
New Contributor

Ok I've been able to perform the desired operations.

Announcements

Select Forum Responses to become Knowledge Articles!

Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.

Labels
Top Kudoed Authors