rj

package module
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 24, 2022 License: MIT Imports: 16 Imported by: 0

README

rj

rj is a command line tool for printing HTTP Response as JSON.

Carbon

Installation

Homebrew

You can also install via hombrew on macOS:

$ brew install yusukebe/tap/rj
Binary

Download the binary from GitHub Releases and install it somewhere in your $PATH. rj currently provides pre-built binaries for Linux, macOS and Windows.

Source

To install from the source, use go install:

$ go install github.com/yusukebe/rj/cmd/rj@latest

Usage

The usage:

$ rj [url] [flags]

Available options:

  -A, --agent string         User-Agent name (default "rj/{{ Version }}")
  -u, --basic string         Basic Auth username:password
  -H, --header stringArray   HTTP Request Header
  -h, --help                 help for rj
      --http1.1              Use HTTP/1.1
      --http3                Use HTTP/3
  -X, --method string        HTTP Request method (default "GET")
  -v, --version              version for rj
Screenshots

With jq:

Screenshot

HTTP/3

Now, support HTTP/3 with --http3 option:

Screenshot

Author

Yusuke Wada https://github.com/yusukebe

License

MIT

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Version string = "v0.1.0"

Functions

func Execute

func Execute()

Types

This section is empty.

Directories

Path Synopsis
cmd
rj

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL