Top "Httparty" questions

HTTParty is a Ruby gem written by John Nunemaker focused on the consumption of web services and APIs.

Trouble including httparty in ruby on rails

I've been trying to use HTTParty in my rails code sudo gem install httparty From the command line I can …

ruby-on-rails ruby httparty
httparty: how to log request?

How do I log requests being sent with with httparty? HTTParty.post( @application_url, :headers => { "Accept" => "application/json", "…

ruby logging httprequest httparty
Sending a post query sent via HTTParty

I'm working with the Buffer App API with HTTParty to try and add posts via the /updates/create method, but …

ruby-on-rails ruby buffer httparty
HTTParty and authorization via token

Somehow HTTParty returns 401 where CURL works fine. Not sure how to pass token in headers. Working (200): curl http://localhost:3020/api/…

ruby-on-rails curl access-token httparty
How to switch base_uri with httparty

I am trying to pass a parameter to a login method and I want to switch the base uri based …

ruby httparty
Using rails to consume web services/apis

I'm new to the rails world and am trying to build a app to simply allow me to search things …

ruby-on-rails ruby service web httparty
Content Type troubles with HTTParty against Rails

require 'HTTParty' require 'json' @payload ={ "email" => "[email protected]", "token" => "mytokenstuff", "content" => "here is some content", "notification_…

ruby-on-rails json httparty
HTTParty with Proxy

I am on heroku trying to access an API that requires my apps ip to be whitelisted. So, I used …

ruby heroku proxy httparty
Failed to open TCP connection to :80 HTTParty gem

So in my course on Coursera I'm required to build this rather simple aplication to obtain and display an array …

ruby-on-rails ruby httparty
Ruby httparty Load Error

I am trying to load (require) the httparty gem into a Ruby file but keep getting an error and am …

ruby-on-rails ruby httparty