問題描述
創建了一個android app作爲服務器,接受其他app的http請求。結果遇到這個問題,debug才發現的
http 1.1 405 http method get is not supported by this url
解決方案
將doGet中的第一行,注掉就ok了
參考網址
http://stackoverflow.com/questions/5370633/405-http-method-get-is-not-supported-by-this-url
創建了一個android app作爲服務器,接受其他app的http請求。結果遇到這個問題,debug才發現的
http 1.1 405 http method get is not supported by this url
將doGet中的第一行,注掉就ok了
http://stackoverflow.com/questions/5370633/405-http-method-get-is-not-supported-by-this-url