Forum Discussion
vilmarci
7 years agoFrequent Visitor
Use another query result as text parameter
I need to pass a json document as body to another Graph API query. The source where I want to get the parameter data is: rooms = Json.Document(Web.Contents("https://graph.microsoft.com/beta/me/find...
Anonymous
6 years agoNot applicable
Hi vilmarci , if you want the output to be the text representation of a JSON document; have you tried to use the Text.FromBinary function? Try to edit the query to the following:
jsaddress = Json.FromValue(#"roomaddress"),
tx = Text.FromBinary(
Json.FromValue(jsaddress)
)Example of Text.FromBinary in use on JSON formatted data in the docs