原因是本机开发IIS没有安装HTTPS证书
将红色的字注释掉就好了!
<services>
<service behaviorConfiguration="basicServiceBehavior" name="GameLogin.RESTService"> <endpoint behaviorConfiguration="webHttpBehavior" binding="webHttpBinding" bindingConfiguration="webHttpBindingConfig" contract="GameLogin.IRESTService" /><!-- Uncomment this block to enable HTTPS <endpoint behaviorConfiguration="webHttpBehavior" binding="webHttpBinding" bindingConfiguration="webHttpsBindingConfig" contract="GameLogin.IRESTService" /> --> </service> </services>posted on 2016-05-26 17:15 阅读(...) 评论(...)