MCPcopy Create free account
hub / github.com/pallets/flask / add

Function add

tests/test_json.py:198–200  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

196def test_json_attr(app, client):
197 @app.route("/add", methods=["POST"])
198 def add():
199 json = flask.request.get_json()
200 return str(json["a"] + json["b"])
201
202 rv = client.post(
203 "/add",

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected