Quick fix for creating url for the API call