Skip to content

More control over HTTP is needed #143

Description

@EdCharbeneau

HTTP client needs to be configurable at runtime. Currently the generator bakes in a base URL and doesn't use HttpClient's headers.

The NucliaDB API requires a bearer token for authentication. It also requires the ability to change address without regeneration.

Example:

NucliaDB services are backed by SaaS, so the hosting region may change the base url.

EU: http://aws-east.host.com/api/v1
US: http//aws-usa.host.com/api/vi
Self host: http//mydomain.com/api/v1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions