- CheckMates
- :
- Products
- :
- Developers
- :
- API / CLI Discussion
- :
- API Testing
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Are you a member of CheckMates?
×- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
API Testing
How to generate "x-chkp-sid" for the api testing in POSTMAN
https://<mgmt-server>:<port>/web_api/show-logs
for testing this API we need Request Headers (x-chkp-sid)
ref link
Thanks in Advandce..!
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You need to log in to use the API.
That starts with the login endpoint, which will provide a sid upon successful authorization.
That sid can then be used in future API calls.
See: https://sc1.checkpoint.com/documents/latest/APIs/index.html#web/login~v1.8%20
In general, you need to be mindful of the following flow when working with the API:
- login (gets a sid)
- "do stuff"
- publish (if write changes occur)
- logout
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You need to log in to use the API.
That starts with the login endpoint, which will provide a sid upon successful authorization.
That sid can then be used in future API calls.
See: https://sc1.checkpoint.com/documents/latest/APIs/index.html#web/login~v1.8%20
In general, you need to be mindful of the following flow when working with the API:
- login (gets a sid)
- "do stuff"
- publish (if write changes occur)
- logout
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Just a quick warning.
"do stuff" is not unlimited. If you need to to a lot of things you better do this in bacthes where you repeat step 2 and 3 for each batch.
Just for fun try to import 3000 networks and 1000 groups of various sorts and then try to publish that. it will take a while. (Enough to grind the beans by hands to make your own coffee.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That number of operations might also fail if you don't have sufficient memory on your management.
Publishing after a couple hundred write/modify operations is recommended.
