Http Binding dynamic headers (short lived tokens)?

Hi
Not been able to find the answer to my question in the documentation or in this community, so I though I would ask.

Is it possible to use the http binding and change the header dynamically perhaps similarly to how you can imbed a parameter (e.g %2s) in the URL formatting?

The service I use has a short lived token that needs changing every hour and has to be passed in the headers, see below in the example thing code. I want to change the Token every hour.

Thing http:url:foo "Foo" [
    baseURL="https://example.com/api/v1/metadata-api/web/metadata",
    headers="Authorization = Token",
    refresh=15] {
        Channels:
            Type string : text "Text" [ stateTransformation="JSONPATH($.metadata.data)" ]
}

Thanks

I’m pretty sure the answer is no. But you can set the headers on an HTTP request from a rule using the sendHttpGetRequest.

Thanks for the reply, for sure I can implement it this way.