logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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.

Example

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

ruby 0.21.0                                       February 2023                                      HTTPARTY(1)

Name

       httparty - query web services and examine the resulting output

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

Usage

        httparty [options] [url]

See Also