In my application I have a list of registered products.
I am trying to send the product name in the url.
However the product name it has #
hashtag and the product name is arriving incomplete on the server:
front end
var product = "PLASTIC #1JQ-M 1CV T-PLAS"
return this._http.get(Config.URL_SITE + 'list/productLen?product='+product)...
back end
router.get('/productLen', function(req, res, next) {
var productName= req.query.product;
console.log(productName) //PLASTIC
...
How to make the productName
variable receive the full name?
"PLASTIC #1JQ-M 1CV T-PLAS"