web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Rest API calls with Po...
Power Apps
Answered

Rest API calls with PowerApps

(0) ShareShare
ReportReport
Posted on by 1

I am playing around with Microsoft PowerApps and Microsoft Flow. I am trying to figure out how to make API calls from PowerApps and return the results(Status and Body) to a field such as a text box in my app.
I can make the HTTP requests through Flow and put them in a static file such as an excel spreadsheet...etc. I can also make the calls from a PowerApps control such as a button but all I know how to do with it is return it to something like an excel file, when really I want to return it to a Text Box or Text Area.

Right now i'm working on US project- so far i had got a lot of self doubt issues.Am i par with industy standards or below ? I need to check my self with one,who is working in real-time.

So that i took a decision to join Advanced Microsoft Powerapps Training.I think it helps me to check(where actually i'am) or learn more.

Categories:
I have the same question (0)
  • Verified answer
    v-bofeng-msft Profile Picture
    on at

    Hi @Maxwell454 :

    Usually we need to create a Custom connector if we need to call API and get the return value.

    This is a case where I get the timestamp by calling the API and display it in the label control:

    Display Internet Based Time 

    I think this link will help you a lot:

    Custom connectors for canvas apps 

    In addition,flow can also be used, but if you want to return data to PowerApps, you also need to use the  Response action.I think this link will help you a lot:

    Return an Array from Flow to PowerApps (Response Method) 

    Best Regards,

    Bof

  • VictorTek Profile Picture
    127 on at

    Hi

     

    Could you help with below ?

     

    I try to access an API behind azure proxy and getting 302 error

     

    {

    "statusCode": 302,

    "headers": {

    "x-ms-proxy-app-id": "2cff5b2f-XXXX",

    "x-ms-proxy-group-id": "e4a5613f-XXXX",

    "x-ms-proxy-subscription-id": "f05d05b1-XXXX",

    "x-ms-proxy-transaction-id": "b78db4ca-XXX",

    "x-ms-proxy-service-name": "proxy-appproxy-FRC-XXX3",

    "x-ms-proxy-data-center": "FRC",

    "Nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.2,\"failure_fraction\":1.0}",

    "Report-To": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\https://ffde.nelreports.net/api/report?cat=proxy-appproxy-FRC-PAR03P-3\}]}",

    "Location": https://login.microsoftonline.com/XXX/oauth2/authorize?response_type=code&client_id=XXX&scope=openid...,

    "Set-Cookie": "AzureAppProxyPreauthSessionCookie_XXXXd_1.4=4|yaxmYNlvVzBSQ7RY+y/0j9Qh1w8vW5wPHIz5EsjQwHkuw5O2aUI4kcPqJ3NTFgQkyMjiCkEpfpJBF5ZfFMz7bFJmYZFKa3gcerGFE9sSTxJJXVKS49gqk/gOahVLO6aiS9DqPcvw2CROXaY0fx3VCwkH/T6bDBjrWoy6UAzgFgvzsOrjy4Vj9DseZL6JkFA=; expires=Thu, 20 Apr 2023 15:40:25 GMT; path=/; Secure; SameSite=None,AzureAppProxyAnalyticCookie_2cff5b2f-a47f-4211-972c-47756d35b164_https_1.3=4|S5I5lk58QFcxxxZaeeHCXhMl0LiIe5Tajyb+jo40T5GGR8R9YbMriGLh81b4iCc9pWUkGtErQbQQ/Ffmi9ePetBkfIA87iiPGkLSPl6LQ==; path=/; Secure; SameSite=None",

    "Date": "Thu, 20 Apr 2023 15:30:24 GMT",

    "Content-Length": "0"

    }

    }

  • stevediaz Profile Picture
    6 on at

    To make API calls from PowerApps, you need to create a connection to the API first.

     

    Thank you 

    (Mulesoft Course)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard