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
Iris Powered By Generali - Iris puts your customer in control of their identity. Icon
Iris Powered By Generali - Iris puts your customer in control of their identity.

Increase customer and employee retention by offering Onwatch identity protection today.

Iris Identity Protection API sends identity monitoring and alerts data into your existing digital environment – an ideal solution for businesses that are looking to offer their customers identity protection services without having to build a new product or app from scratch.
Learn More
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