Open bleehu opened 6 years ago
The reason it won't let you have multiple routes with the same address, but different methods is because it's way easier to check the request.method field.
http://flask.pocoo.org/docs/1.0/quickstart/#http-methods
We could save future devs a hell of a lot of heartache if we do this, and I can actually put RESTful APIs on my resume. Derp.
The reason it won't let you have multiple routes with the same address, but different methods is because it's way easier to check the request.method field.
http://flask.pocoo.org/docs/1.0/quickstart/#http-methods
We could save future devs a hell of a lot of heartache if we do this, and I can actually put RESTful APIs on my resume. Derp.