I have values in two variables
SessionId=Pxsvdsdruhn
ServerUrl=https://app3.xxxxxxxxcloud.com/saas
I want to pass these values in curl command and execute it from python script. I tried below but its giving syntax error
os.system("curl -X GET -H "Content-Type:application/json" -H "Accept: application/json" -H "icSessionId":"SessionId" ServerUrl/api/v2/agent")
Any pointers where i am wrong?