How can I download PDF file from IDM via ION

Hi All.

We've a requirement involving IDM and preferabily ION.

I've some API call (maybe started from an ION Document Flow) to IDM apis /items/search/item.

This works well, and I have in output the PDF file URL with also the token.

If I open it in a browser it works well, but I can't download it automatically to a directory.

Is there a way to have a base64 string instead of the URL, or a way to dowload it automatically to a connection point?

I really want to avoid the use of some external script to do this.

I tried with ION desk python script but it seems that it can't download files from the internet.

Thanks a lot and have a nice day.


Davide