Postman collection
Sophos Firewall offers a Postman collection with preconfigured payloads for its API.
You can import the collection to Postman and use it. See Postman collection for Sophos Firewall.
Use the Postman collection
Do as follows:
- In the firewall, check if you've turned on API and allowed access to API administrators. See API.
- Install the latest Postman application on your endpoint.
-
Click Import and paste the following URL:
https://docs.sophos.com/nsg/sophos-firewall/api-collections/sophosfirewall.postman_collection.json
Postman imports the collection. Alternatively, go to the URL, save the file in a text editor, such as, Notepad, and import the file to Postman.
-
In the collection's main menu, click Variables, and change the following initial or current values based on your requirement, then click Save:
- username
- password
- firewall-ip: It's the IP address of your web admin console.
- firewall-port
Note
The updated values are automatically applied to your Postman collection, although you can't see them in the individual requests.
-
In the collection list, click Authenticate and click Sign in to test the connection and variables.
-
In the main body, click Send.
You'll see a success message in the section below the main body.
-
You can now send configuration requests. These contain example settings. Make sure you customize these to meet your network requirements.