HTTPARTY(1)

πŸ“¦
version 0.24.2 Β· 3 versions
, in ubuntu resolute, ubuntu stonking

πŸ’– NAME πŸ’–

httparty β€” query web services and examine the resulting output ✨

okay bestie so real quick: this is the User Commands girlie, manual page HTTPARTY(1), and she is literally here to let you talk to web services from your terminal and then stare at what comes back πŸ‘‘


🌸 DESCRIPTION 🌸

httparty is a command-line tool to query web services and examine the resulting output πŸ’…

By default it will output the response as a pretty-printed Ruby object β€” which is so useful for grokking the structure of output, no cap, it's giving "I finally understand this API" energy 🧚

This can also be overridden to output formatted XML or JSON. Obsessed with the options honestly 🌈


πŸŽ€ USAGE πŸŽ€

httparty [options] [url]

✨ OPTIONS ✨

  • -f, --format [FORMAT] β€” Output format to use instead of pretty-print ruby: plain, csv, json or xml πŸ’«
  • -a, --action [ACTION] β€” HTTP action: get (default), post, put, delete, head, or options πŸ”₯
  • -d, --data [BODY] β€” Data to put in request body (prefix with '@' for file) πŸ“¦
  • -H, --header [NAME:VALUE] β€” Additional HTTP headers in NAME:VALUE form πŸ’Œ
  • -v, --verbose β€” If set, print verbose output πŸ‘€
  • -u, --user [CREDS] β€” Use basic authentication. Value should be user:password πŸ”
  • -r, --response-code β€” Command fails if response code >= 400 😭
  • -h, --help β€” Show help documentation 🫢
  • --version β€” Show HTTParty version 🏷️

⭐ EXAMPLE ⭐

httparty "http://twitter.com/statuses/public_timeline.json"
bestie, this is the whole vibe. one URL, one command, output delivered πŸ’…

and that's the whole page, fr fr β€” this one shipped as ruby 0.24.2, dated February 2026, and it ate, no crumbs left πŸŽ€βœ¨

πŸ“¦ where this page comes from