Documentation
¶
Overview ¶
Please is a utility for making and receiving web requests and parsing and reformatting the common data formats that are sent over them.
Examples:
To make a web request, parse the response as json and reformat it in yaml:
please get http://my.api.com/things | please parse -i json -o yaml
To listen for a web request on port 8001 and reply "Hello, world" with a 200 status:
echo "Hello, world" | please respond 200 :8001
Directories
¶
| Path | Synopsis |
|---|---|
|
Package formatters houses the build-in formatter functions that are registered with please
|
Package formatters houses the build-in formatter functions that are registered with please |
|
Package common provides some utility functions for dealing with HTTP requests and responses
|
Package common provides some utility functions for dealing with HTTP requests and responses |
|
cmd
Package cmd houses the command line functionality of please.
|
Package cmd houses the command line functionality of please. |
|
Package parsers houses the build-in parser functions that are registered with please
|
Package parsers houses the build-in parser functions that are registered with please |
Click to show internal directories.
Click to hide internal directories.