I’m having trouble using GET for some search queries. I’m wondering if it has to do with the length of the query, although it is well under the 2,000 byte URL limit. I would like to try testing with POST, but am finding no documentation on it other than
POST /tickets
search for tickets with the 'query' and optional 'simple' parameters
I’m unable to even get any query to work. Does this use JSON, like creating a ticket does, or does it maybe use form data? What is the format of the data?
Here is the application/json data that I have tried:
{“query”:“Queue = ‘Alarms’”}
Here is the URL I’m using for my POST:
This search works fine with GET (unencoded):
Any help would be appreciated.