mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-12 19:55:14 +02:00
9 lines
242 B
Python
9 lines
242 B
Python
# Fixture: spec derived via FromCallgraphEntry (rule id matches `*.http.*`,
|
|
# entry point classified as HttpRoute).
|
|
from flask import Flask, request
|
|
|
|
app = Flask(__name__)
|
|
|
|
@app.route("/echo")
|
|
def echo():
|
|
return request.args.get("q", "")
|