Allow to set the api_url (useful to proxy requests)