openHAB behind a Cloudflare Tunnel for remote access

Hey There, i just wanted to show my .things file and steps i took for an application behind Cloudflare Zero trust which i access via http binding.
At first i created the tunnel, the application, followed by a service Token and a rule for that app:


So i figured out how to use it with curl:

curl "https://pihole.domain.tld/admin/api.php?summary&auth=<Pihole-APIKEY>" -H "CF-Access-Client-Id: <Client ID>" -H "CF-Access-Client-Secret: <Client Secret>"
Followed by the implementation in the things file:
    Thing http:url:pihole "Pihole" [
	baseURL = "https://pihole.domain.tld/admin/api.php?summary&auth=<Pihole-APIKEY>",
	headers="CF-Access-Client-Id=<Client ID>", "CF-Access-Client-Secret=<Client Secret>",
	refresh = "120",
	timeout ="5000",
	ignoreSSLErrors = "false"
]
{
	Channels:
		Type number : domains_being_blocked [
			mode = "READONLY",
			stateTransformation = "JSONPATH:$.domains_being_blocked"
		]
		Type number : dns_queries_today [
			mode = "READONLY",
			stateTransformation = "JSONPATH:$.dns_queries_today"
		]
		Type number : ads_blocked_today [
			mode = "READONLY",
			stateTransformation = "JSONPATH:$.ads_blocked_today"
		]
        ...
}