.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.10. .TH HTTPARTY "1" "May 2019" "httparty 0.16.4" "User Commands" .SH NAME httparty \- query web services and examine the resulting output .SH 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. .PP .SH USAGE httparty [\fIoptions\fR] [\fIurl\fR] .SH OPTIONS .TP \fB\-f\fR, \fB\-\-format\fR [\fIFORMAT\fR] Output format to use instead of pretty\-print ruby: plain, csv, json or xml .TP \fB\-a\fR, \fB\-\-action\fR [\fIACTION\fR] HTTP action: get (default), post, put, delete, head, or options .TP \fB\-d\fR, \fB\-\-data\fR [\fIBODY\fR] Data to put in request body (prefix with '@' for file) .TP \fB\-H\fR, \fB\-\-header\fR [\fINAME:VALUE\fR] Additional HTTP headers in NAME:VALUE form .TP \fB\-v\fR, \fB\-\-verbose\fR If set, print verbose output .TP \fB\-u\fR, \fB\-\-user\fR [\fICREDS\fR] Use basic authentication. Value should be user:password .TP \fB\-r\fR, \fB\-\-response\-code\fR Command fails if response code >= 400 .TP \fB\-h\fR, \fB\-\-help\fR Show help documentation .TP \fB\-\-version\fR Show HTTParty version .SH EXAMPLE httparty "http://twitter.com/statuses/public_timeline.json"