$BaseApiUrl uses https instead of http