Created
March 21, 2013 11:29
-
-
Save djoreilly/5212367 to your computer and use it in GitHub Desktop.
console output
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 | |
$ curl -H "X-Auth-Token:open-sesame" http://127.0.0.1:8080 | |
Hello, welccome to paste | |
$ curl -H "X-Auth-Token:bad-token" http://127.0.0.1:8080 | |
<html> | |
<head> | |
<title>403 Forbidden</title> | |
</head> | |
<body> | |
<h1>403 Forbidden</h1> | |
Access was denied to this resource.<br /><br /> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment