From 501e7f0f92b4a10596111e19122d743b7d83f4ca Mon Sep 17 00:00:00 2001 From: harshita115 <41101208+harshita115@users.noreply.github.com> Date: Wed, 24 Oct 2018 09:48:07 +0530 Subject: [PATCH] changed --- api.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/api.py b/api.py index a3fcdf3..1689e15 100644 --- a/api.py +++ b/api.py @@ -30,6 +30,8 @@ def random(): results.append(book) return jsonify(results) +# gangam style ;) + @app.route('newbooks', methods=['get']) def new_books(): id=int(request.args['id']) @@ -38,6 +40,6 @@ def new_books(): return {"Id already there"} books.append({'id':id,'value':value}) return {'status':'ok'} - +# bla bla bla app.run(debug = True)