Exception in thread “main” java.io.IOException: Server returned HTTP response code: 405

前端 未结 0 1748
萌比男神i
萌比男神i 2021-01-06 14:30

ULR url = new URL(urlString);

HttpURLConnection con = (HttpURLConnection) url.openConnection();

con.setRequestMethod("GET");

con.connect();

相关标签:
回答
  • 消灭零回复
提交回复
热议问题