none
Get call to REST API using WCF-Webhttp adapter in BizTalk 2016 RRS feed

  • Question

  • Hi All,

    How to make a GET call to REST API which require 2 parameters as headers. The same call i can make using postman as shown below. How to achieve it in BizTalk using WCF-Webhttp adapter or any other adapter.

    

    

    Thanks & Regards,

    Uday Kiran


    uday rega

    Thursday, January 24, 2019 5:07 AM

All replies

  • Make sure you escape the & in the URL, example below, and have multiple variables defined in the Variable Mapping


    <BtsHttpUrlMapping>
        <Operation Name="OPERATION" Method="POST" Url= "/UID?name={name}&amp;id={id}"/>
    </BtsHttpUrlMapping>

    And yes, the WCF-WebHttp adapter is the correct one.



    Thursday, January 24, 2019 10:05 PM