Skip to content

Ability to pass additional headers to the /-/load JSON API #14

@simonw

Description

@simonw

Current API looks like this:

POST /-/load
{"url": "https://s3.amazonaws.com/til.simonwillison.net/tils.db", "name": "tils"}

It would be useful to support an extra "headers": {..} optional key which can be used to pass additional headers to use when fetching from the URL, e.g.: {"url": "...", "headers": {"Authorization": "Bearer XXX"}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions