You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2026-05-06 21:04:14 +02:00
26 lines
719 B
Plaintext
Vendored
26 lines
719 B
Plaintext
Vendored
URL = "http://localhost:8123";
|
|
// No authorization
|
|
|
|
Result = OPI_ClickHouse.GetHTTPConnectionSettings(URL);
|
|
|
|
// With basic authorization
|
|
|
|
Login = "bayselonarrend";
|
|
Password = "12we...";
|
|
|
|
Authorization = New Structure(Login, Password);
|
|
|
|
Result = OPI_ClickHouse.GetHTTPConnectionSettings(URL, Authorization);
|
|
|
|
// With JWT authorization
|
|
|
|
JWT = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.test";
|
|
|
|
Result = OPI_ClickHouse.GetHTTPConnectionSettings(URL, JWT);
|
|
|
|
// With additional headers
|
|
|
|
AdditionalHeaders = New Map;
|
|
AdditionalHeaders.Insert("X-Custom-Header", "CustomValue");
|
|
|
|
Result = OPI_ClickHouse.GetHTTPConnectionSettings(URL, Authorization, AdditionalHeaders); |