Created
May 13, 2015 17:36
-
-
Save rchannel/0f6724aaf45fc881f8d7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
awesome = HTTParty.get("#{url}/run", header: "Accept: application/x-yaml", :verify => false, body: {:debug_output => $stdout, :client => "local",:tgt => "#{server}", :fun => "test.ping", :username => "#{username}", :password => "#{password}", :eauth => "pam"}) | |
Trying to get: | |
curl -ksi localhost:8000/run \ | |
-H 'Accept: application/x-yaml' \ | |
-d client='local' \ | |
-d tgt='shrike' \ | |
-d fun='test.ping' \ | |
-d username='saltdev' \ | |
-d password='saltdev' \ | |
-d eauth='pam' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment