We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ae9eb9 commit 86d18baCopy full SHA for 86d18ba
2 files changed
app.py
@@ -9,7 +9,6 @@
9
swagger = Swagger(app)
10
11
class UppercaseText(Resource):
12
-
13
def get(self):
14
"""
15
This method responds to the GET request for this endpoint and returns the data in uppercase.
@@ -39,7 +38,6 @@ def get(self):
39
38
return jsonify({"text": text.upper()})
40
41
class Records(Resource):
42
43
44
45
This method responds to the GET request for returning a number of books.
@@ -86,7 +84,6 @@ def get(self):
86
84
return {"books": books}, 200
87
85
88
class AddRecord(Resource):
89
90
def post(self):
91
92
This method responds to the POST request for adding a new record to the DB table.
requirements.txt
@@ -0,0 +1,5 @@
1
+flask
2
+flasgger
3
+flask_restful
4
+pyairtable
5
+gunicorn
0 commit comments