RestClient.Net icon indicating copy to clipboard operation
RestClient.Net copied to clipboard

More control over HTTP is needed

Open EdCharbeneau opened this issue 3 months ago • 0 comments

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

EdCharbeneau avatar Oct 21 '25 12:10 EdCharbeneau