angularjs - angualrjs: escape slashes from parameter value passed to $http.get -


i using simple http call in angularjs , passing query string parameters.

one of param date. let's "update" , value passed 03/20/2015.

when make $http.get call passing "update" query string parameter,

the request sent as

http://myservice.com/services/products?update=03%2f20%2f2015

i send as

http://myservice.com/services/products?update=03/20/2015

any appreciated.

i suggest replace slashes dashes in date: 03-20-2015 here can find more informations


Comments

Popular posts from this blog

node.js - How to mock a third-party api calls in the backend -

node.js - Why do I get "SOCKS connection failed. Connection not allowed by ruleset" for some .onion sites? -

matlab - 0-by-1 sym - What do I need to change in order to get proper symbolic results? -