How to pass authorization token to Rest Connector as header
Content
Hi,
Thank you community in advance, i am facing below issue followed documentation as well but no help.
How to pass AUTHORIZATION TOKEN as header to a Rest Connector (token got from calling another component)
1. I defined one Rest Connector (name - "UiPathAuthConnector") in MCS with Rest URL --> "https/rest_url" (this is sample url just for ex)
2. Now I created Api with 2 components
- GetAuth Component (Post Call) -> In this component I am calling the connector & passing username & password in body(as it is post call) to get a token
var mobileSdk = conversation.mobileSdk;var body = {"tenancyName": "somevalue",
3