Hi guys,
anybody has fortiweb api reference document for versions 7.0 or higher?
i don't know why fortinet restrict access to this docs just via fortinet developer network. why? if any fortinet staff read this post, please answer why? registering for fdnd is so hard.
if anybody have worked with fortiweb api version 7.0 or higher and know the default port for accessing the api , please share here.
thanks.
Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
Hi @HISEC ,
I do not have the answer of the first question , but i will try to help you with the second one.
I believe the API runs on port 90 .
thank you for your response. yes i know that port 90 is for api fortiweb version 6.2.1 and its in the fortinet docs for free. but what about for higher versions? i tested the port 90 for version 6.2.1 and its ok. so please provide us the pdf or any document on api for higher versions
try to sign in to the portal below, where you can find docs related REST API:
I know this. but registering to this portal is not easy. you should know 2 Fortinet employee for verifying registration.
The API itself is not very well documented. To get you started. Here is how to set authentication header:
var username = "adminuser";
var password = "password";
var adom = "Adom01";
_httpClient.SetHeader("Authorization", $"{{\"username\":\"{username}\",\"password\":\"{password}\",\"vdom\":\"{adom}\"}}");
and use chrome/inspect mode to look for XHR requests with path https://yourwaf:port/api/v2.0/ while navigating the web ui.
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1712 | |
1093 | |
752 | |
447 | |
231 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.