I am trying to construct an URL with filter parameters, like so:
let url = URL(string: "http://myapi.com/api/customers?filter={\"where\":{\"name\":\"myName\"}}")
But this returns nil. Is there a way to have an URL object of this format? Or should I use another method to construct my request?
Thanks in advance !