我正在嘗試製作WISPr客戶端。爲此,我已閱讀WISPr 1.0,1.2和2.0規範。WISPr客戶端連接失敗
考慮1.0的WISPr客戶,我已經解析從熱點登錄頁LoginURL
,並儘量使認證請求(登錄= test,密碼=通):
POST : http://hotspot.server.com/login
Parameters : button=Login&UserName=test&Password=pass&FNAME=0&OriginatingServer=http://www.google.com
我的憑據是一件好事,因爲我通過網頁的HTML表單使用它們。
返回HTTP POST請求,驗證總是失敗的響應:
<AuthenticationReply>
<MessageType>120</MessageType>
<ResponseCode>100</ResponseCode>
<ReplyMessage>Authentication Failure</ReplyMessage>
</AuthenticationReply>
我已經與其他優秀的憑據其他網絡型動物熱點嘗試。
你有一個想法在我的錯誤出現在我的認證請求?