Closed Hisol closed 6 years ago
I am passing a filter in the Greyhound query to select just a subset of point classifications. If the URL is sent as
&filter={'Classification': {'$in': [1, 2]}}
I get a 400 error
Error during parsing: * Line 1, Column 21 Missing '}' or object member name
But if I change the quotes around the operator to double quotes, it is happy
filter={"Classification": {"$in": [1, 2]}}
The filter parameter must be valid JSON, which does require double quotes around strings. This should probably be stated in the docs - will add.
filter
thanks for the update
I am passing a filter in the Greyhound query to select just a subset of point classifications. If the URL is sent as
I get a 400 error
But if I change the quotes around the operator to double quotes, it is happy