cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SuChrist
Regular Visitor

Using response of POST-request

Hi

 

I'm building my first Power-app, and I'm slowly moving forward.

However, I have troubles using the data that I receive from a POST-request to my API.

 

My setup is:

A Business Central which I'm connecting to through a Custom Connector. I can post data to it, and the response I should get back is a simple boolean value. 

 

The response is:

{
    "@odata.context": *MY CONNECTION*
    "value"true
}
 
My POST method is connected to a button, and I want a pop-up showing whether or not the value is true or false. 
 
Any help is welcome!
1 ACCEPTED SOLUTION

Accepted Solutions
SuChrist
Regular Visitor

Apparently, you just need to assign the response to a variable,

 

Something like this will work:

 

Set(postResponse; *API CALL HERE*)

View solution in original post

1 REPLY 1
SuChrist
Regular Visitor

Apparently, you just need to assign the response to a variable,

 

Something like this will work:

 

Set(postResponse; *API CALL HERE*)

View solution in original post

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

secondImage

Power Apps Community Call

Please join us on Wednesday, October 20th, at 8a PDT. Come and learn from our amazing speakers!

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
Top Kudoed Authors
Users online (2,207)