cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Advocate I
Advocate I

How to create HTTP post request to tiwilio with HTTP connector

Hi, 

I would like to convert curl sentence below to HTTP post request with Power Automate connector.

https://www.twilio.com/docs/fax/api/fax-resource

Toshi_0-1605591441543.png

Please let me know how to create HTTP post request. Read through the document, though did not help. 

https://docs.microsoft.com/en-us/azure/connectors/connectors-native-http

1 ACCEPTED SOLUTION

Accepted Solutions
Advocate I
Advocate I

3 REPLIES 3
Super User II
Super User II

Hi @Toshi 

 

You have to do some trickery with splits and expressions. I would recommend:

1. Splitting by "\" then you can get an array with the rows

2. Fetch the first element of the array and split by space. Then pick the last and you'll have the URL

3. Same strategy for the other rows. Use replace to remove any character that you don't need.

4. Store all values in variables.

5. Use the variables in the HTTP post.

 

I know this is a lot of manual work, but I don't see another solution for this, sorry.

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Cheers
Manuel

Advocate I
Advocate I

Super User II
Super User II

Hi @Toshi 

 

Awesome news and thanks for sharing the solution with the community.

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Cheers
Manuel

Helpful resources

Announcements
PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (4,836)