play framework WS API always escape character ';' and '=' in URL

Posted by user2512057 on Stack Overflow See other posts from Stack Overflow or by user2512057
Published on 2014-05-25T06:41:41Z Indexed on 2014/05/30 9:27 UTC
Read the original article Hit count: 186

When I send a URL like abc.efg.com/query?para1=cat;para2=dog, play WS API always convert it to abc.efg.com/query?para1=cat%03Bpara2%03Ddog. Of course, there are http:// in the beginning in the URL. my code is as below. val url= "http://abc.efg.com/query?para1=cat;para2=dog" val response = WS.url(url).get()

When I use fidder or netmon to look at the data that sent to sever, I found play framework WS (2.1.5) always change to the URL above I mentioned. How do I tell WS not to convert?

© Stack Overflow or respective owner

Related posts about api

Related posts about url