Skip to content

API: Run

Samantha Ixer edited this page May 21, 2019 · 2 revisions
  1. Create the environment
  2. Run the API within the VM - python3 app.py
  3. 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)

Clone this wiki locally