Last active
December 15, 2015 05:29
-
-
Save djoreilly/5209062 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ python start_app.py | |
serving on http://127.0.0.1:8080 | |
$ python do_get.py wrong-token | |
HTTP Error 403: Forbidden | |
$ py do_get.py open-sesame | |
Hello, welcome to paste | |
$ curl -H "X-Auth-Token:open-sesame" http://127.0.0.1:8080 | |
Hello, welcome to paste |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment