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
Post a Comment