Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Want to convert variable resquest.content from query string to JSON

Hi,

I am using an API endpoint to serve as a flow hook, to receive back status.

The only problem is the request.content is coming back as query string and I need it as a JSON string.

How can I convert the variable request.content and convert it into JSON?

For an example, I want to convert the following, into what's below:

key1=value1&key2=value2&key3=value3
{
  "key1": "value1",
  "key2": "value2",
  "key3": "value3"
}

0 5 1,689
5 REPLIES 5