Scroll to navigation

HTTPARTY(1) User Commands HTTPARTY(1)

NAME

httparty - query web services and examine the resulting output

DESCRIPTION

`httparty' is a command-line tool to query 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.

USAGE


httparty [options] [url]

OPTIONS

Output format to use instead of pretty-print ruby: plain, csv, json or xml
HTTP action: get (default), post, put, delete, head, or options
Data to put in request body (prefix with '@' for file)
Additional HTTP headers in NAME:VALUE form
If set, print verbose output
Use basic authentication. Value should be user:password
Command fails if response code >= 400
Show help documentation
Show HTTParty version

EXAMPLE

httparty "http://twitter.com/statuses/public_timeline.json"

February 2023 ruby 0.21.0