cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Anonymous
Not applicable

Refactor / Transform / Decode JSON (POST encoded with application/x-www-form-urlencoded)

Hello,

 

I need your help using Trigger When a HTTP Request is received.

 

Unfortunatly I have a web app, that send callback payload JSON  encoded with application/x-www-form-urlencoded (no way to change it);

 

So HTTP Request is like below : 

{
  "$content-type": "application/x-www-form-urlencoded",
  "$content": "json payload BASE64 encoded",
  "$formdata": [
    {
      "key": "payload",
      "value": "json payload content text"
    }
  ]
}

Is there any way to transform with Flow the request content (using triggerBody(), body(), ... ?) in order to have a decoded operable payload JSON ?  

 

 

Any example would be helpfull !

 

Regards

 

 

1 REPLY 1
Highlighted
Community Support
Community Support

Re: Refactor / Transform / Decode JSON (POST encoded with application/x-www-form-urlencoded)

Hi @Anonymous,

 

I have made a test on my side and I afraid that the function to transform with Flow the request content to have a decoded operable payload JSON is not supported in microsoft flow currently.

 

Best regards,

Alice

Helpful resources

Announcements
FirstImage

Microsoft Ignite 2020

Check out the announcement of Power Platform content at Microsoft Ignite!

thirdImage

Experience what's new for Power Automate

Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Users online (2,609)