开发者

WCF REST GET - "*" in the Uri causing "400 Bad request

I have a service with the following Uri template

Services/UserPreferences/{key}

The users can specify "*" in the key. This is causing a 400 bad request. I have tried encoding - replacing * with %2A. That does not help either.

Any suggestions ?

Regards, Dh开发者_如何学运维ananjay


It looks like we cannot have a "*" in the URI. Will be handling this from query parameters

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜