rest

package
v0.0.0-...-806114d Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2024 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RestCmd = &cobra.Command{
	Use:     cmdName + " [method] [-ktHSVb] url",
	Short:   "Make a REST request",
	Long:    `Make a REST request to the specified URL. The method defaults to GET when not specified.`,
	Example: "GET http://example.com/api/endpoint -H 'Accept:application/json,Accept-Encoding:gzip'",
	Args:    cobra.MaximumNArgs(2),
	RunE:    runRest,
}

RestCmd defines the `tykops rest` CLI command

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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