Store file into database from url https://myfile.pdf

I am using an API to generate PDF’s the thing is it’ll return the url associated with the file to download, I want to store this on my database, any thoughts?

@yisrael-wix