Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
khodgson_bts
Collaborator

Help with CME API

Greetings!

I'm trying to get the CME API up and working in my lab. So far, I've managed to get an account configured to Azure through SmartConsole no problem.

I'm now trying to query it using the CME API using the CME API Postman collection. I'm able to successfully initiate a login event and obtain a session ID, however, when trying to run any other request like:

get https://{{managementIP}}/web_api/v1.8/cme-api/v1.3.1/generalConfiguration/delayCycle

I an error returned, "Missing header: [X-chkp-sid]" which makes sense, but if I add an appropriate header to the request with the value of the session ID (hardcoded or through the variable) I then get an error "415 unsupported media type".

I've hit a wall at this stage, and the official documentation doesn't offer any solutions. What am I missing?

0 Kudos
1 Reply
Amir_Senn
MVP Silver CHKP MVP Silver CHKP
MVP Silver CHKP

There's a script that supposed to take your session ID and put it in the environment variable as session-ID.

Can you try and put it manually and see if this solves the issue?

See in picture.

 

Kind regards, Amir Senn
0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events