mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-30 20:39:39 +02:00
10 lines
242 B
Python
10 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", "")
|