Hi,
I need help with converting below 2 CURL commands into check_http command,

curl -v -H "Content-Type: application/json" -X POST -d '{"RequestHeader":{"Token":null,"Detail":null,"CoordinationId":null},"CreateSessionRequestBody":{"SystemId":"3156","SystemPassword":"dAEWJuXY6vXSY3XDLb6lHYbex0o2tPYZWZL1+ub2KPI=","UserName":"apigee_console","UserPassword":"URQqPzjOBHYGbVO"}}' https://abc.com/v1/session/CreateSession


curl --data "client_secret=3ce5f1b2d1c6be44&grant_type=client_credentials&client_id=9f32d9a8598fb416965036c60fad9827&scope=PROFILE%20RENTALHISTORY" --header "Content-Type: application/x-www-form-urlencoded" -k https://abc.com/oauth2-13/token/


regards,
prabhu
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Reply via email to