changed signature of makeRequestWithMethodName, so that the success method also has non-void parameters