Update base_api.php

Should probably make sure its a callable method before trying to execute it.