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

Passing header parameters in custom component

Received Response
22
Views
1
Comments
edited Apr 12, 2019 11:54AM in Visual Builder 1 comment

Summary

Passing header parameters in custom component

Content

Hi,

Could you please tell how to pass the header parameters in custom component.

Below is the attached code snippet.

Please let us know if we are passing it correctly.

 

With Regards,

Eswar.

Version

18.x

Code Snippet

 "properties": {
    "headers": {
      "displayName": "headers",
      "type": "string",
      "value": {
        "kmauthtoken": "{\"localeId\":\"en_US\",\"localeOverride\":\"true\"}"
      }

    },

    "serviceId": {
      "displayName": "Service ID",
      "type": "string",
      "value": "kmApiLatestContentWebC5"
    },
    "endpointId": {
      "displayName": "Endpoint ID",
      "type": "string",
      "value": "get383CFD38447D42D5B81749C1107C8A81"
    }
  } 

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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