Description | This article describes how to get HTTP transaction information via FortiWeb Rest API. |
Scope | FortiWeb and FortiWeb-VM v6.3.17 or later. |
Solution |
FortiWeb provides HTTP Transactions' Widget at Dashboard -> Status. Fortiweb also provides option to get the HTTP transaction information via it's REST API
Step 1: Encode the FortiWeb administrator credential string with Base64 to use it as an Authorization token:
Example:
Step 2: Using curl:
# curl -k -X GET 'https://<FortiWeb_IP>/api/v2.0/system/status.httptransactions?time=1&policy=<Server_Policy_Name>' -H 'Authorization:<token>'
Example:
Technical Tip: How to register an account on Fortinet API documentation |
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.