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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Curl Command with http...
Power Automate
Unanswered

Curl Command with http Power Autoamte

(0) ShareShare
ReportReport
Posted on by 48

How can I use this curl command as an http request?

anacarolinagr_0-1692277738360.pnganacarolinagr_1-1692277796808.png

 

Categories:
  • Expiscornovus Profile Picture
    34,005 Most Valuable Professional on at

    Hi @anacarolinagr,

     

    I see at the end of the value in the URI field you have a trailing single quote character. Can you remove that single quote, I believe that is not needed.

     

    Also make sure you remove that white line directly after the } in the Corpo field.

     

    Can you make this two small changes and try again?

  • anacarolinagr Profile Picture
    48 on at

    Still not working

  • Expiscornovus Profile Picture
    34,005 Most Valuable Professional on at

    Hi @anacarolinagr,

     

    Is your API available via the internet? Or is it only reachable via your company network?

     

    In case of the latter this setup is not going to work. In that case you probably need to setup a Enterprise data gateway which allows accessing resources from your network and use the invoke an HTTP request action instead.


    If it is accessible via the internet we would need more details about your issue. In that case can you share the outputs of the failed flow? Are you getting any kind of error. If so, please share details like a screenshot of the error message.

     

    Alternatively, have you tried to test the same HTTP request with a tool like Postman. This is also useful to troubleshoot if your API is reachable via this approach.

  • anacarolinagr Profile Picture
    48 on at

    API is avaiable and it is working using Postman.

    The error: 

    anacarolinagr_0-1692291911039.png

     

  • Expiscornovus Profile Picture
    34,005 Most Valuable Professional on at

    Hi @anacarolinagr,

     

    Can you share the inner exception as well? That should be listed in the outputs of the failed HTTP action.

     

    Is this a third party API or have you developed this yourself?


    I have seen threads where a web service was not working where the service used a self-signed certificate, which wasn't trusted. Maybe its that kind of case as well? 

    https://powerusers.microsoft.com/t5/Building-Flows/Https-connection-error-of-Flow-with-web-Service/td-p/240640

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 289

#2
11manish Profile Picture

11manish 282 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 119

Last 30 days Overall leaderboard