cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
dstanisljevic
New Member

HTTP Get Request

When doing a REST API call, PA replaces the spaces with a + character. There a method to override as it is causing it to fail on my queries. I've tried encoding it with %20, however, it just replaces the % with %25, resulting in %2520. Any help would be greatly appreciated! Here's a screenshot of my setup:

 

dstanisljevic_0-1604332035744.png

 

1 ACCEPTED SOLUTION

Accepted Solutions

Got it working. Instead of using the built in queries field, I placed the entire encoded query in the URI field and now it is sending it as expected.

View solution in original post

7 REPLIES 7
ManishJain
Solution Sage
Solution Sage

Hi @dstanisljevic ,

 

Are you doing GET query within Microsoft dynamics or Microsoft ecosystem, if so then you can use HTTP Request using Azure AD.

 

Thanks

The query is going out to Oracle Service Cloud, so outside of MS.

Hi @dstanisljevic ,

 

Can you try running the query in Postman . I have attached the screenshots of how you can pull the values from Postman if it works there :

 

Select on Code (highlighted in red box)

 

1.JPG

 

then select http from the options available on left side 

 

2.JPG

 

Thanks

Hi @ManishJain,

 

Yes, I tested the query out in Postman prior to moving to Power Automate. It works fine there and returns successfully. The issue is in Power Automate as it fills all the spaces with a "+" character when sending out the request and the Oracle Service Cloud API rejects that. 

Got it working. Instead of using the built in queries field, I placed the entire encoded query in the URI field and now it is sending it as expected.

View solution in original post

abm
Super User III
Super User III

Hi @dstanisljevic 

 

Can't try using expression replace() 'a +'  to '%20'?

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials

Thanks , can you please mark the solution as accepted.

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Users online (57,422)