Top "Httparty" questions

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

POST JSON to API using Rails and HTTParty

I would like for a user within my ruby on rails app to be able to submit a ticket to …

ruby-on-rails json api httparty
Passing headers and query params in HTTparty

How to pass query params and headers in post method using HTTparty. I am doing as follows But it throws …

ruby-on-rails ruby http-headers httparty
Ruby error Net::ReadTimeout

I am making a series of API calls using httparty. The first two API calls succeed, but the third one …

ruby api timeout httparty
How can I handle errors with HTTParty?

I'm working on a Rails application using HTTParty to make HTTP requests. How can I handle HTTP errors with HTTParty? …

ruby-on-rails ruby httparty
How to use basic authentication with httparty in a Rails app?

The command line version of 'httparty' with basic authentication works simple and great: httparty -u username:password http://example.com/…

ruby ruby-on-rails-3 httparty
How can I implement this POST request using HTTParty?

I am having difficulty making a POST request to an API endpoint using Ruby's HTTParty library. The API I'm interacting …

ruby curl httparty
How do I make HTTParty ignore SSL?

I'm using a local server to test an application, and make requests to that server from my own machine. The …

ruby ssl httparty
Parsing JSON in Controller w/ HTTParty

In my controller I have the following code... response = HTTParty.get('https://graph.facebook.com/zuck') logger.debug(response.body.…

ruby-on-rails ruby facebook-graph-api httparty
Changing Content-Type to JSON using HTTParty

I am trying to use Ruby on Rails to communicate with the Salesforce API. I can fetch data easily enough …

ruby-on-rails salesforce httparty
Handling Net::ReadTimeout error in HTTParty

I am using httparty (0.13.1) gem. I am making series of API calls using httparty. Some of my initial API calls …

ruby-on-rails ruby ruby-on-rails-3.2 httparty