We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi OpenFunction team,
I would like to request a feature of supporting multi routes in the function framework (mainly in python).
use cases:
params
@app.route('/product/<name>', methods=["GET"])
example:
# health function @app.route("/functions/<funcname>/health", methods=["GET"]) def health(request, funcname): return "", 200 # dynamic process function @app.route("/functions/<funcname>:process", methods=["POST"]) def process(request, funcname): function = FUNCTIONS.get(funcname) data = dict(request.json) return {"output": function.process(data["input"])}
Similiar requests in gcp function-framework:
The text was updated successfully, but these errors were encountered:
This is a good requirement, thanks @lizzzcai
Sorry, something went wrong.
Fixed by OpenFunction/functions-framework-go#51
tpiperatgod
webup
kehuili
No branches or pull requests
Hi OpenFunction team,
I would like to request a feature of supporting multi routes in the function framework (mainly in python).
use cases:
params
from the route path. for example:@app.route('/product/<name>', methods=["GET"])
example:
Similiar requests in gcp function-framework:
The text was updated successfully, but these errors were encountered: