Generic Api - Adding support for PUT requests.