title: Tornado not allowing put request
body: <p>Below is my handler code where tornado is allowing to do get request where as getting method not allowed error.
  i am missing something obivious?</p>
  
  <pre><code>class CustomerHandler(web.RequestHandler):
              def get(self, customer_id):
              data = retrieve_customer_data_from_customer_database(customer_id)
              print(data)
              self.write(data)
              self.finish()
  
              def put(self, data):
                  customer_data = data
                  data = json.loads(customer_data)
                  customer_id = customer_data['id']
                  update_customer_data(customer_id, data)
                  result_out = {}
                  result_out['status'] = True
                  self.write(json.dumps(result_out))
                  self.finish()
  </code></pre>