Description | This article describes how to use Postman to restore Fortiweb configuration through REST API | |||||||||
Scope | FortiWeb 6.3 and later. | |||||||||
Solution |
FortiWeb offers a RESTful API that follows the principles of Representational State Transfer. This API allows users to access and modify FortiWeb application settings. By utilizing the RESTful API, users can seamlessly integrate FortiWeb with other systems and exercise control over its features. The API uses HTTPS+ authentication to ensure secure and programmable management. This makes it easy for users to integrate FortiWeb with other configurations. Additionally, the FortiWeb RESTful API enables comprehensive management of all FortiWeb features.
Restoring the FortiWeb configuration can be achieved by sending an API request via its REST API. For this demonstration, we will use Postman to send the API call to the FortiWeb REST API.
Steps to be performed in Postman. 1) API URL: https://<FWB-IP>/api/v2.0/system/maintenance.restoreconfiguration
2) Request Method : POST.
3) Authorization header:
4) HTTP body(form-data):
Steps to perform in Postman: 1) Open Postman.
5) Define request body:
6) Select Send to post the API call.
7) Successful configuration restores response would look as follows.
Steps to verify in FortiWeb: 1) Navigate to Log&Report -> Log Access -> Event.
For more information, refer to FortiWeb RESTful API Reference: |
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.