Closed raspitim closed 1 year ago
Add dynamic path mapping to pass parameters as part of the path:
@app.view('your/path/{{param1}}/{{param2}}') def api_view(request, dynamic_params) param1 = dynamic_params.param1 param2 = dynamic_params['param2'] return f"{param1}, {param2}"
Add dynamic path mapping to pass parameters as part of the path: