开发者

WCF REST - Handle / in Get request

开发者 https://www.devze.com 2023-01-06 11:09 出处:网络
How can i pass / character in a rest request ? for example i have products with code like this CAB1/8TO1/8-25

How can i pass / character in a rest request ?

for example i have products with code like this CAB1/8TO1/8-25 and my rest url is like this "items/{code}"

Is there any way of handling this with a GET request?

Th开发者_StackOverflowanks


You may try to URL encode it: items/CAB1%2f8TO1%2f8-25

0

精彩评论

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