- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
need fortiweb api reference for versions 7.0 and 7.2
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.
- Labels:
-
FortiWeb
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 .
If you have found a solution, please like and accept it to make it easily accessible for others.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
try to sign in to the portal below, where you can find docs related REST API:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I know this. but registering to this portal is not easy. you should know 2 Fortinet employee for verifying registration.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
