cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Users online (10,848)