Hi, I created uri.var.status property and used the property in url-template with legacy encoding. Remaining part of URL is removed with the special character.
<call> <endpoint> <http method="post" uri-template="legacy-encoding:{uri.var.apiUrl}/1.1/statuses/update.json?{uri.var.status}"/> </endpoint> </call> *Request* - sample #test *Output* [2015-12-18 16:45:47,269] DEBUG - wire << "POST /1.1/statuses/update.json?status=sample%20 HTTP/1.1[\r][\n]" [2015-12-18 16:45:47,269] DEBUG - wire << "Accept-Language: en-US,en;q=0.8[\r][\n]" *Expected output* [2015-12-18 16:45:47,269] DEBUG - wire << "POST /1.1/statuses/update.json?status=sample%20%23test HTTP/1.1[\r][\n]" [2015-12-18 16:45:47,269] DEBUG - wire << "Accept-Language: en-US,en;q=0.8[\r][\n]" What could be the reason? Thanks, Kathees -- Kathees Software Engineer, email: kath...@wso2.com mobile: +94772596173
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev