Updates API-URL to https