Create a Document from a URL
When you already have an existing data store for your files or prefer not to store them with PSPDFKit Server, you can create a document from a URL.
When operating on a document from a URL, PSPDFKit Server will fetch the file using the provided URL and cache it in the node file system.
Your service sends a document’s URL to PSPDFKit Server, which makes a request to the URL to retrieve the document.
The document service returns the document, and PSPDFKit Server saves it and its metadata in the asset storage and PostgreSQL.
Your service receives the document ID back, which it can use to reference the document later.