Does it work if you escape the URL using JSON.print(data).http_escape() or put the URL between single quotes?

3 years later