How to pass Header into REST Service SMO.

  • 11 March 2019
  • 1 reply
  • 11 views

Hello all,

 

I have a dll, for K2 REST Service, with the input parameters below.

 

How do I pass the Header into the REST Service call, using the REST service SMO below.

 

I need to do this for a GET http method.

 

The base url is: 

http://45.77.93.200/api/v1/getBal?accno=2003738332&datefrom=*personal details removed*

 

Header is:

x-access-token: e6738hheyy8ye7833939eye78ee78f9h4803hhf79393nviv003j3j.89303jjf9003jjd903088fh8s9s90303

 

 

13025iE6220BF988215F6F.jpg

 

Thank you all.

 


1 reply

Userlevel 6
Badge +16

Hi,


 


Perhaps, the following steps might help.


1. Enable 'Add HTTP Request Header...' option.



2. Use the HTTP Header SmartObject to seriallize the request and pass it back to your SmartObject.


Reply