check url encode postman code example
Example: how to encode uri in prereuqest script postman
var encoded = encodeURIComponent(pm.environment.get("phone number"));
var encoded = encodeURIComponent(pm.environment.get("phone number"));