Net HTTP debug output to console with HTTParty
I found this handy tip in the httparty docs, if you want more info on whats going on during some REST request you can get some debug output during a test run or whatnot by adding this to your HTTParty enabled class …
debug_output $stderr
So your class might look like:
require "httparty" class AwesomeRestThing include HTTParty debug_output $stderr def do_something end end
1 Notes/ Hide
-
matthewling posted this