Configuring HTTP Connector with Bearer Token

Hello!
I’m trying to interact with MS Azure Cognitive Serivces(specifically with MS Speech synthesis) over a http-connector.
I use a service task and set a key-value in the headers(with Map type) like this: Authorization - Bearer <my_token> in the http-connector configuration.
I deploy and then run the task, and I always get 401 error(Unauthorized). The same request works from a Python script well.
So, the question is, does the http-connector supposed to work with Authentication by default? Or do I do something wrong? Or I need to write some custom implementation?
Thanks in advance!

Hi @Trilobite,

you can map any key-value pair into the request header.

If you want to inspect the http request in more details, you can apply logging like here: Make-Rest-Calls-From-Camunda-Example/application.yaml at main · camunda-community-hub/Make-Rest-Calls-From-Camunda-Example · GitHub

Hope this helps, Ingo