zeyadahmedd commited on
Commit
31fc655
·
1 Parent(s): cce68ef

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -0
app.py ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from flask import Flask ,json
2
+ test=[{"string":"testing ya client"}]
3
+ api=Flask(__name__)
4
+
5
+ @api.route('/testing',methods=['GET'])
6
+ def testing():
7
+ return json.dumps(test)
8
+
9
+
10
+ if __name__ == '__main__':
11
+ api.run(