WCF 4.0 安静的 URL
我怎样才能在基于ron jacobs 教程 采用以下格式
Example /customer/{apikey}/{other or no parameter}
Currently am only able to achieve the following /customer?apikey=8484734739-43948&parm2=ui
How can i be able to have the apikey on a wcf 4.0 restful service based on the ron jacobs tutorial to be in the following format
Example /customer/{apikey}/{other or no parameter}
Currently am only able to achieve the following /customer?apikey=8484734739-43948&parm2=ui
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
警告:我不使用 Jquery,我从某个随机网站复制了这个并对其进行了一些更改。
Warning: I don't do Jquery, I copied this off some random web site and changed it a bit.
仅供参考:
要将 api 密钥附加到所有请求,请使用以下代码:
Simply for reference:
To append the api key to all requests, use the following code: