Skip to content

Instantly share code, notes, and snippets.

@jsutch
Last active May 11, 2016 23:44
Show Gist options
  • Save jsutch/787464e12e92fc94e2cc857eaeabc52a to your computer and use it in GitHub Desktop.
Save jsutch/787464e12e92fc94e2cc857eaeabc52a to your computer and use it in GitHub Desktop.
127.0.0.1 - - [11/May/2016 16:38:13] "GET /success HTTP/1.1" 200 -
^C(venv) Shrdlu:new_environment person$ python hello1.py
* Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
* Restarting with stat
* Debugger is active!
* Debugger pin code: 128-550-458
127.0.0.1 - - [11/May/2016 16:39:27] "GET /success HTTP/1.1" 200 -
127.0.0.1 - - [11/May/2016 16:39:30] "GET /test HTTP/1.1" 200 -
127.0.0.1 - - [11/May/2016 16:40:28] "GET /test HTTP/1.1" 200 -
127.0.0.1 - - [11/May/2016 16:40:48] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [11/May/2016 16:40:48] "GET /favicon.ico HTTP/1.1" 404 -
127.0.0.1 - - [11/May/2016 16:40:53] "GET /test HTTP/1.1" 200 -
127.0.0.1 - - [11/May/2016 16:40:57] "GET /success HTTP/1.1" 200 -
--------
the returns
Shrdlu:new_environment person$ curl http://127.0.0.1:5000/test
<html>
<body>
<p>Hello Flask!</p>
</body>
</html>Shrdlu:new_environment person$ curl http://127.0.0.1:5000/success
<html>
<body>
<p>Hello Flask!</p>
</body>
</html>Shrdlu:new_environment person$ curl http://127.0.0.1:5000/
<html>
<body>
<p>Hello Flask!</p>
</body>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment