adding PUT method to ApiRequest