Fix ApiUrl pass