Marthee commited on
Commit
96eef10
·
verified ·
1 Parent(s): b0fe3a3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -9,10 +9,10 @@ app = Flask(__name__)
9
  # api_key = request.headers.get("x-api-key")
10
  # if api_key != API_KEY:
11
  # abort(403) # Forbidden if API key is missing or incorrect
12
- @app.route('/', methods=['POST'])
13
  def thismain():
14
  print('ayhaga')
15
- @app.route('/process', methods=['POST'])
16
  def process():
17
  # check_api_key()
18
  try:
 
9
  # api_key = request.headers.get("x-api-key")
10
  # if api_key != API_KEY:
11
  # abort(403) # Forbidden if API key is missing or incorrect
12
+ @app.route('/', methods='GET')
13
  def thismain():
14
  print('ayhaga')
15
+ @app.route('/process', methods='POST')
16
  def process():
17
  # check_api_key()
18
  try: