Commit 3b615e2
authored
Add examples/simple-http.py (#32)
Sort of like a very simple HTTPie
e.g.:
```
$ examples/simple-http.py http+unix://%2Fvar%2Frun%2Fdocker.sock/version
{"Version":"1.12.3","ApiVersion":"1.24","GitCommit":"6b644ec","GoVersion":"go1.6.2","Os":"linux","Arch":"amd64","KernelVersion":"4.4.0-63-generic","BuildTime":"Mon, 19 Dec 2016 09:20:48 +1300"}
```1 parent 3bdc1a8 commit 3b615e2
1 file changed
+11
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
0 commit comments