Skip to content

Instantly share code, notes, and snippets.

@jbrisbin
Created June 18, 2014 22:27
Show Gist options
  • Save jbrisbin/a14331fd10129983f206 to your computer and use it in GitHub Desktop.
Save jbrisbin/a14331fd10129983f206 to your computer and use it in GitHub Desktop.
rest-shell 2.0 sample output
_ _ _____ _____ ___ ___ _____ _ ____
| || |_ _|_ _| _ \ \ \ / / __(_) / / /
| __ | | | | | | _/ |\ \/\/ /\__ \_ / / /
|_||_| |_| |_| |_| | | \_/\_/ |___(_)_/_/
=====================|_|=====================
HTTP and WebSocket interactive shell - version 1.0
(http://localhost:8080/):> get --headers "X-Custom: custom header value"
> GET http://localhost:8080/ HTTP/1.1
>
> Authorization: OAuth TOKENSTRING
> X-Custom: custom header value
>
>
>
< HTTP/1.1 200 OK
<
< Date: Wed Jun 18 05:27:14 CDT 2014
< Server: rest-shell
< Content-Length: 0
<
<
<
(http://localhost:8080/):>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment