Update base_api.php

Should probably make sure its a callable method before trying to execute it.
Merge pull request #1 from litzinger/patch-1

Update base_api.php