A form in my app has the following:
<form action="/faculty/update/agxzdGFuZHJld3NqaHNyDQsSB0ZhY3VsdHkYBww" method="PUT" accept-charset="utf-8">
However, upon submission the request is treated as a GET and is handled by def get()
and not def put().
Any help would be appreciated!
Edit:
Thanks for the responses. If I can't use method="PUT"
what is the best way of directed the form the the put()
method within my handler class? Should I add another handler within main.py?