adding port to api_url for testing