Cant download a PDF from API

Part of the problem is that the demo url works perfectly but the url @funhall is using with authentication doesn’t return a valid value (my guess! We don’t know…). So the problem is not with the API and probably not with the JSON parsing either. The problem is that we haven’t seen a valid FULL url including authentication.