[OpenSIPS-Users] How to encode HTTP URL params values?

Andrey Vorobiev andrey.o.vorobiev at gmail.com
Tue Sep 15 22:41:45 CEST 2015


Hi,

I try to use REST_CLIENT (OpenSIPS version 1.11) module in order perform
HTTP GET request with params in URL query part. Some of parameters may
contain space characters and need to be encoded according to
http://www.w3schools.com/tags/ref_urlencode.asp. It seems that REST_CLIENT
module doesn't encode specified URL. So what function or script
transformation should I use in order to encode HTTP query params values?

-- 
Best regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20150915/fea458c6/attachment.htm>


More information about the Users mailing list