0
我如何能够对基于该ron jacobs tutorial一个WCF 4.0 RESTful服务的apikey要在以下格式WCF 4.0宁静的URl
Example /customer/{apikey}/{other or no parameter}
Currently am only able to achieve the following /customer?apikey=8484734739-43948&parm2=ui
为什么你要把APIKey的路径?实际上,API密钥根本不应该在URI中,它应该位于授权头中。 – 2011-05-19 11:25:07
好的我怎么才能在授权头文件中实现这个apikey – lafama 2011-05-19 11:46:15
lafama:在客户端上设置auth头文件为'myauthscheme:8484734739-43948',并在服务器上读出它。确保所有自动服务器端身份验证都已关闭。 – 2011-05-19 12:29:58