Lxd rest api filter

How do I quote a filter?
Apparently empty spaces cant be passed to a get request.
What is the right way to add a filter to a get request?

lxc query /1.0/instances?filter=“name eq cont1 and status eq running”

So far tried quotes, double quotes, brackets (assumed an array or collection), none has worked.

You should URL encode the value, e.g.

lxc query /1.0/instances?filter=name%20eq%20v1