Add /log to path so I could use it on server.

This commit is contained in:
Matt
2020-05-19 22:41:10 -05:00
parent 3882f914cd
commit 0a153a50aa
2 changed files with 8 additions and 4 deletions

View File

@ -6,7 +6,7 @@ shows what is done and not done makes it easy to check periodically.
# How?
This tiny Flask API runs on a server (Raspberry Pi, etc.). It has very basic authentication
This tiny Python 3 Flask API runs on a server (Raspberry Pi, etc.). It has very basic authentication
and waits for a curl (or similar) GET request with some small amount of data. The data are
displayed on a simple web page.
@ -16,6 +16,10 @@ whatever data you pass.
You can either run with the internal Flask development server or something like gunicorn.
I am experimenting with virtualenv, for which I am following the instructions at
https://blog.miguelgrinberg.com/post/designing-a-restful-api-with-python-and-flask (this
is also the place from I cribbed the basic application functions).
# Other Use Cases?
I'm sure there are some.