Makes http fun again! Ain't no party like a httparty, because a httparty don't stop. httparty also includes the executable httparty which can be used to query web services and examine the resulting output. By default it will output the response as a pretty-printed Ruby object (useful for grokking the structure of output). This can also be overridden to output formatted XML or JSON. Execute httparty --help for all the options. If the response Content Type is application/json, HTTParty will parse the response and return Ruby objects such as a hash or array. The default behavior for parsing JSON will return keys as strings. This can be supressed with the format option. In some cases you may want to skip SSL verification, because the entity that issued the certificate is not a valid one, but you still want to work with it. Unless you have specific requirements otherwise, we recommend to not set set the Accept-Encoding header on HTTParty requests.

Features

  • Ruby 2.3.0 or higher
  • multi_xml
  • Use the class methods to get down to business quickly
  • Or wrap things up in your own class
  • See the examples directory for even more goodies
  • Includes the executable httparty which can be used to query web services

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow httparty

httparty Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of httparty!

Additional Project Details

Programming Language

Ruby

Registered

2021-10-01