Jim's
Tutorials

Spring 2018
course
site

I set up a flask server following this tutorial http://flask.pocoo.org/. I created virtual environment using pip install flask. followed this tutorial, “implementing RESTful web api with python and flask” http://blog.luisrei.com/articles/flaskrest.html and went through all the “get” “post” request exercises using curl. sending a file with curl was interesting- you can see what I’ve done in testapi.py, and curl requests work on it. I ended up using the file "form.py" for my project in the python class, which uses post requests.

https://cs.marlboro.college /cours /spring2018 /jims_tutorials /web_tech /new_april1
last modified Fri December 13 2024 8:07 am

attachments [paper clip]

  last modified size
TXT form.py Fri Dec 13 2024 08:07 am 348B
TXT testapi.py Fri Dec 13 2024 08:07 am 1.5K