Fix put and delete method of Http Service.