I am trying to send a JSON string along with the url ass http get using angular's $http service but somehow the curly braces are being removes when the request is sent because of may be angular's URI encode function is not working correctly, is there any work around for this? the samlpe would be if I send
http://someurl.com?a={"a":"b"}
it is sent to server as
http://someurl.com?a="a":"b"
I dont know whats wrong with Angular.
paramSerializerJSON.stringify()(2) GET requests shouldn't be used like that. You should only need to send minimal, specific information as query parameters, not a full JS object. (3) Use a POST request for sending data to the server.