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 / HTTP converting query ...
Power Automate
Unanswered

HTTP converting query parameter from json to string

(0) ShareShare
ReportReport
Posted on by 242

I'm using the HTTP function to make an API call using the Advanced Web Ranking API. Specifically, I am trying to use the create project function.

 

Developer API v2 Documentation - Advanced Web Ranking

 

The API requires that a JSON formatted input parameter be passed along. I was able to do this in Postman successfully, but I am running into an issue where Flow keeps converting it from JSON into a string.

 

Example:

{
  "inputs""{\n  \"keywords\":[\n    {\n      \"name\":\"my keyword 1\",\n      \"index\":3,\n...
}
 
Every attempt that I make the http function keep the JSONS format results either in an error or the app converting it to a string anyway. Is there any way to keep the JSON's format without triggering an error?
Categories:
I have the same question (0)
  • Gopala_Krishna Profile Picture
    1,495 on at

    @DDCJOEE 

    Not sure whether this would help or not, can you please try using the JSON function.

    Reference guide for functions in expressions - Azure Logic Apps | Microsoft Docs

     

    Put all the query parameters inside the JSON function and specify this expression in the request where you are passing the queries, hope this would not get converted to string.

     

    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    if the information shared helps you, please consider giving a thumbs up 👍 and mark solution as resolved

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 250 Super User 2026 Season 1

#2
Expiscornovus Profile Picture

Expiscornovus 222 Most Valuable Professional

#3
Haque Profile Picture

Haque 174

Last 30 days Overall leaderboard