Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X
Hi Guys,
since alert processing subsystem is not working correctly (case has been opend and bug reported), We are trying to workaround that a bit.
I have pretty standard REST call to my TW that looks like that:
Here goes my question.
How can I append a query?
For an example
var query = {
filters: {
type: "And",
filters: [
{
type: "GT",
fieldName: "Duration",
value: "0"
}
]
}
};
Is there any special formatting? How can simply put into the URL?
Thanks a lot
Tomas
I notice you have the command line switch enabled, please remember that doing so, does put you at risk of CSRF
to pass the query, you should be able to pass it in with &query=yourqueryasJSONhere
Yep I have, but I am passing the appKey in URL as well and I am using the REST calls only on LAN. Which should be secure against any kind of interception. I will try that JSON format.
Thanks though.