-
Notifications
You must be signed in to change notification settings - Fork 3
API: Run
Samantha Ixer edited this page May 21, 2019
·
2 revisions
- Create the environment
- Run the API within the VM -
python3 app.py - Access the API through a web brower using:
http://localhost:5000/topics-
http://localhost:5000/topics/:id/subtopics- requires a valid topic id to be inserted instead of:id(you can get this from the topics URL) -
http://localhost:5000/topics/:id/subtopics/:id/resources- requires a valid topic id to be inserted instead of the first:id(you can get this from the topics URL) and a valid subtopic id to be inserted instead of the second:id(you can get this from the subtopics URL)