cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

HTTP how to build request

Hello, I have a web api (POST) method https://......./Services/CoursesService.svc

 

With a method GetCoursesHist (among others) and a few parameters... like employee ...

How do you transltate this into a HTTP step in a flow ?

 

<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
    <Body>
        <GetCoursesHist xmlns="http://tempuri.org/">
            <employeeId>1</employeeId>
            <languageId>2</languageId>
        </GetCoursesHist>
    </Body>
</Envelope>

 

Im not clear if the parameters employeeId and languageId go in queries or in the body and mainly where does the method go... as part of the URI o header?

 

Thanks!

1 REPLY 1
ManishJain
Solution Sage
Solution Sage

HI @Anonymous ,

 

In the http request use the same uri and in the body part use json to send parameters i.e {"employee ":1122}

 

Thanks

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (2,857)