Forum Discussion

wdrain's avatar
wdrain
Helper I
1 year ago

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