소스 검색

Adding python version, super basic flask app, only functions as echo server at this point

Joe Ceresini 7 년 전
부모
커밋
6deaa35aab
1개의 변경된 파일10개의 추가작업 그리고 0개의 파일을 삭제
  1. 10 0
      python/api.py

+ 10 - 0
python/api.py

@@ -0,0 +1,10 @@
+from flask import Flask,request
+import json
+
+app = Flask(__name__)
+
[email protected]("/contains_all_chars", methods=['POST'])
+def contains_all_chars():
+	# Just testing, essentially an echo server at this point
+	return json.dumps(request.get_json())
+