Forum Discussion
How do you pass and escape chars from GraphQL Query into web.contents for a REST api connections?
Query:
| query endpointsBitLockerDetails { endpoints(after: null, first: 200) { edges { node { id computerID isEncrypted sensorReadings(sensors: [{name: "BitLocker Details"}, {name: "Enforce - TPM Status"}]) { columns { sensor { name } name values } } } } pageInfo { startCursor endCursor hasNextPage } totalRecords } } |
Specifically how would one update that "Enforce - TPM Status" be passed correctly ?
I was able to get "BitLocker Details" working by modifying to \""BitLocker Details\""
5 Replies
- AnonymousNot applicable
Hi wdrain ,
Try surrounding the description value with triple quotes like this:
"""Enforce - TPM Status"""For special characters in keys, you can refer to this:
Solved: Query parameter's with special characters - Microsoft Fabric Community
Best Regards,
Gao
Community Support TeamIf there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!How to get your questions answered quickly -- How to provide sample data in the Power BI Forum
- wdrainHelper I
Hi Gao
Unfortunely the triple quotes did not work and returned the following error- AnonymousNot applicable
Hi wdrain ,
What if you use double quotes like this?
Best Regards,
Gao
Community Support TeamIf there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!How to get your questions answered quickly -- How to provide sample data in the Power BI Forum