Topic: can Net:HTTP deal with json response?
Does anyone have a clue how I can use Net::HTTP to receive json response?
http = Net::HTTP.new(application_uri.host, application_uri.port)
request = Net::HTTP::Get.new(resource)
response = http.request(request)
will abort with 'null', when the response from the http request above is json( say from another controller in my app that does 'render :json => @some_model' -- say in the controller's show method)
Thanks for any help...