Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- request = Typhoeus::Request.post(effective_url,
- :body => payload, #this payload var should be your post body: like foo=bar&bar=baz
- :method => :post, #make it a post call
- :disable_ssl_peer_verification => true, #optional
- :username => <user>,
- :password => <pass>,
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement