You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to pass authorization token to Rest Connector as header

Received Response
edited Jul 31, 2018 8:51AM in Digital Assistant and Mobile 2 comments



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",

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!