Forum Discussion
Richard_Halsall
2 years agoHelper IV
Converting Postman Body Request to JSON body
Hi I am facing an issue to replicate the body POST request from Postman into PQ. This works in Postman { "query": "query { boards (ids: 123456789) { items_page (limit:500, query_pa...
- 2 years ago
Have a look at example 2 Web.Contents - PowerQuery M | Microsoft Learn
Something like
Content = Json.FromValue([query= "query { boards (ids: 123456789) { items_page (limit:500, query_params: {rules: [{column_id: ""person"", compare_value: [""Alex""], operator: contains_text}]}) { cursor items { id name column_values { column{title} text}}}}}"])
lbendlin
2 years agoSuper User
Have a look at example 2 Web.Contents - PowerQuery M | Microsoft Learn
Something like
Content = Json.FromValue([query= "query { boards (ids: 123456789) { items_page (limit:500, query_params: {rules: [{column_id: ""person"", compare_value: [""Alex""], operator: contains_text}]}) { cursor items { id name column_values { column{title} text}}}}}"])- Richard_Halsall2 years agoHelper IV
lbendlin Many thanks