Thanks for the reply!
I tried this method using curl, wget and just putting the url directly into a browser address bar. All fail with various messages returned:
HTTP request sent, awaiting response… 401
Username/Password Authentication Failed.
I tried also including http authentication and a bearer token header, neither worked. The token is not expired as I can use it for other calls.