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
AI-generated apps that pass security review Icon
AI-generated apps that pass security review

Stop waiting on engineering. Build production-ready internal tools with AI—on your company data, in your cloud.

Retool lets you generate dashboards, admin panels, and workflows directly on your data. Type something like “Build me a revenue dashboard on my Stripe data” and get a working app with security, permissions, and compliance built in from day one. Whether on our cloud or self-hosted, create the internal software your team needs without compromising enterprise standards or control.
Try Retool 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