Started adding api information to main page.
This commit is contained in:
7
main.py
7
main.py
@@ -43,7 +43,12 @@ class podcasts(db.Model):
|
|||||||
|
|
||||||
@app.route('/', methods=['GET'])
|
@app.route('/', methods=['GET'])
|
||||||
def index():
|
def index():
|
||||||
|
stuff = """<b> /login </b<br>Method: 'GET' JSON: 'username', 'password'<br>
|
||||||
|
<b>/updateFeeds</b><br>Method: 'PUT', JSON:: 'podcastID' <i>note leave podcastID blank to update all feeds</i><br><br>
|
||||||
|
<b>/addFeed</b>to Come</b><br><br>
|
||||||
|
<b>/listPoddcasts/<userID><b><br><br>
|
||||||
|
|
||||||
|
"""
|
||||||
return 'stuff'
|
return 'stuff'
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user