79187329

Date: 2024-11-14 03:41:47
Score: 1.5
Natty:
Report link

Just set app.route with strict_slashes=False, like this:

@app.route('/my_endpoint', methods = ['POST'], strict_slashes=False)
def view_func():
    pass
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Sebastian Holguin Rivera