from flask import Flask, request # ... @app.route('/search', methods=['GET']) def search(): args = request.args return args