> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chowder.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# HTTP and HTTPS

> Query a file directly by its HTTP or HTTPS URL.

Pass a file's URL to any table function.

## URI form

```text theme={"theme":"css-variables","languages":{"custom":["/languages/chowder-sql.json"]}}
https://<host>/<path>
http://<host>/<path>
```

## Query an object

Read the same original Amazon product photo shown in the [S3 example](https://docs.chowder.ai/reference/sources/amazon-s3.md):

```chowder-sql theme={"theme":"css-variables","languages":{"custom":["/languages/chowder-sql.json"]}}
SELECT
    source,
    format,
    width,
    height
FROM read_images('https://amazon-berkeley-objects.s3.us-east-1.amazonaws.com/images/original/1e/1e33b274.jpg');
```

Directory listings aren't available over HTTP, so use a URL to a single file. Globs fail.

## Media objects

`read_videos` and `read_audio` need a URL to the media file itself. A provider page, such as a YouTube watch URL, isn't a media file. The demo bucket provides media files through [Hugging Face bucket URIs](https://docs.chowder.ai/reference/sources/hugging-face-buckets.md).

Byte-range support depends on the server.

## Authentication

Public objects require no credentials. A signed object URL may grant temporary access; keep it out of published examples and source control. For private Hugging Face data, prefer `hf://` and the normal authentication flow rather than copying signed resolve URLs.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.