I have a url
http://example.com/data/
I want to send json data in that url
i.e.
http://example.com/data/{"1":{"id":"some_id","xyz":"1","date":"1397287235418","type":"67878"}}
What is the best way to send json data in the url because when I try to send data in this format it gives error
The URI you submitted has disallowed characters.
I know there is allowed character configuration in CI but if I allow there will be a security issue. I have tried urlencode and in server side used urldecode but it's not helping either Thanks in advance.