开发者

WCF REST Special characters

开发者 https://www.devze.com 2022-12-10 05:00 出处:网络
HI How do u pass a \'/\'as a paramter in a wcf service rest way. e.g if the user name has t开发者_JS百科he domain includes\"domain/userName\"

HI How do u pass a '/' as a paramter in a wcf service rest way. e.g if the user name has t开发者_JS百科he domain includes "domain/userName"

thanks


The escape string for / is %2F. If you're asking how to do this programatically, the use Uri::EscapeDataString.

0

精彩评论

暂无评论...
验证码 换一张
取 消