import hug
something = {'foo': 'bar'}
@hug.put('/')
def update_something():
something['foo'] = <value_of_bar_from_http_put_request>
How do I access the put data so that I can update something
? I looked up this and this but couldn't find anything.