For the complete documentation index, see llms.txt. This page is also available as Markdown.

Load an URL

Reference documentation on loading URLs for sending, using Mindee client libraries.

This is reference documentation.

Code samples shown are only examples, and will not work as-is. You'll need to copy-paste and modify according to your requirements.

Looking full code samples?

You can also use the "Ask" button at the top of any page in the documentation.

Overview

Overall, the steps to sending an URL are:

  1. Load the URL, this does not download anything locally.

  2. Optional: adjust the source file before sending.

  3. Use the Mindee client instance to send the file.

Requirements

In most cases you'll be loading a source file for use in the Mindee Client, take a look at the Client Configuration section for more info.

However, you don't actually need the client initialized to use these features, only the client library installed.

All Accepted Files may be used, if they adhere to the File Limits.

In addition, the source URL must adhere to the following rules:

  • Secured using TLS (HTTPS).

  • Publicly available using only the URL, no authentication headers.

  • Authentication may be provided in the URL as query parameters: username+password or token. For example, Amazon S3 signed URLs will work.

  • Contents must be a binary file (raw bytes, not base64-encoded).

  • File contents cannot be encrypted, PDFs must not be password protected.

  • The Mindee server will not follow redirections (HTTP 3xx).

Load the URL

Use the URLInputSource class.

Last updated

Was this helpful?