How to configure REST data source with Bearer Token

How to configure REST data source with Bearer Token

book

Article ID: KB0082204

calendar_today

Updated On:

Description

You would like to add Header/Body Parameter in REST data source:
  • For example if the header parameter name is “Authorization” which accept the Bearer Token for REST Service then you should add a Header/Body Parameter with name as “Authorization”:
             User-added image
  • While execution of REST data source operation in TDV, you can pass the Bearer Token value as in this newly added “Authorization” parameter as: Bearer “Bearer Token”
           i.e. Bearer sjfsfkjkh242hvjsljris9343vhlsf0w093343hgsljl04343jjjjjj
               User-added image
  • You can also add additional different header parameter required for REST web service:
  • If web service require “Content-Type” header parameter then then you should add a Header/Body Parameter with name as “Content-Type”. Please note that you should use the same name for header parameter in REST data source, which is accepted/define by web service.
                User-added image
  • While execution of REST data source operation in TDV, you can pass the Content-Type header value as shown in below screenshot:
                User-added image

              

Issue/Introduction

This article illustrate how to configure REST data source with Bearer Token or How to pass the Bearer Token while executing REST operation in TDV.

Environment

Any