Hi Nicola,
The bearer token is set in the Authorization: header of the HTTP request. What
you need to do is define this header by adding a property named Authorization
to the processor (see screenshot). The value of this should be "Bearer
#{token}”, replacing #{token} with your actual token value. It’s good practice
to define the token as a parameter and reference it using the #{param_name}
syntax to make it easier to manage.
Kind regards,
Jim
> On 4 Mar 2022, at 13:52, Nicola Biadene <[email protected]>
> wrote:
>
> Dear all,
>
> how can I set a bearer token on a InvokeHTTP operator?
>
> I cannot find documentation and a field referring to this parameter.
>
>
> Regards.
>
>
> Nicola Biadene
> Software Engineer
> [email protected] <mailto:[email protected]>
>
>
> Targa Telematics S.p.A.
> Via E. Reginato, 87 – 31100 Treviso – Italia
> Tel. +39 0422 247 911
> <>www.targatelematics.com <http://www.targatelematics.com/>
>
>
> <https://www.facebook.com/TargaTelematics/>
> <http://www.linkedin.com/company/targa-telematics/>
> <https://twitter.com/targatelematics>
> <https://www.instagram.com/targatelematics/>
>
> <>
> Stampa questa eMail solo se realmente necessario
>
> Le informazioni contenute nella comunicazione che precede possono essere
> riservate e sono, comunque, destinate esclusivamente alla persona o all'ente
> sopraindicati. La diffusione, distribuzione e/o copiatura del documento
> trasmesso da parte di qualsiasi soggetto diverso dal destinatario è proibita.
> La sicurezza e la correttezza dei messaggi di posta elettronica non possono
> essere garantite. Se avete ricevuto questo messaggio per errore, Vi preghiamo
> di contattarci immediatamente e di eliminarlo dai vostri sistemi. Informativa
> sulla privacy <https://www.targatelematics.com/privacy/> di Targa Telematics
> S.p.A.
>
>
> Please consider your environmental responsibility before printing this eMail
>
> This communication is intended only for use by the addressee. It may contain
> confidential or privileged information. Transmission cannot be guaranteed to
> be secure or error-free. If you receive this communication unintentionally,
> please inform us immediately and delete it from your systems. Targa
> Telematics S.p.A. privacy policy
> <https://www.targatelematics.com/en/privacy/>.