edgegrid-client-go

command module
v0.0.0-...-bef5c4e Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2024 License: MIT Imports: 10 Imported by: 0

README

edgegrid-client-go

simple command line client for using Akamai REST API

Documentation

Overview

Egdegrid - Akamai REST API client

Use Akamai edgegrid API client authentication to make request to REST API

Usage:

edgegrid <METHOD> <:PATH> [HEADER:VALUE]...

make an http request using METHOD to the specified PATH (must be prefixed by a colon char ':') Optional additional headers could be specified by specifying colon separated pairs.

In case of a POST, PUT or PATCH request, the body should be filled via piping the content to the program

Egdegrid credential file could be specified via RC_PATH or default "~/.edgerc" will be used, default section will always be used

Exit code is zero (0) if HTTP response status is 200, otherwise exitcode is one (1)

Jump to

Keyboard shortcuts

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