web
You’re offline. This is a read only version of the page.
close
Skip to main content
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:
I have the same question (0)
  • Expiscornovus Profile Picture
    33,181 Most Valuable Professional on at
    Re: Curl Command with http Power Autoamte

    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
    Re: Curl Command with http Power Autoamte

    Still not working

  • Expiscornovus Profile Picture
    33,181 Most Valuable Professional on at
    Re: Curl Command with http Power Autoamte

    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
    Re: Curl Command with http Power Autoamte

    API is avaiable and it is working using Postman.

    The error: 

    anacarolinagr_0-1692291911039.png

     

  • Expiscornovus Profile Picture
    33,181 Most Valuable Professional on at
    Re: Curl Command with http Power Autoamte

    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

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 Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard