[Answer]-Retrieve GET parameters as is without replacing '+' sign with " "

1👍

Use encodeURIComponent();

var res = SomeResource({
    tokenName : encodeURIComponent("SomE73ThiL1k3T+ashR"),
}, function() {
    console.log(res);
})

0👍

var res = SomeResource({
                    tokenName : SomE73ThiL1k3T%2BashR,
                       }, function(){
console.log(res);
})

Change + with %2B

Leave a comment