emotional developer/detect-Java
httpclient 를 이용한 테스트 중,,,,,,
성게군.
2015. 4. 23. 18:11
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>400 Bad Request</title>
</head><body>
<h1>Bad Request</h1>
<p>Your browser sent a request that this server could not understand.<br />
</p>
<hr>
<address>Apache/2.2.16 (Debian) Server at pvs.ifi.uni-heidelberg.de Port 80</address>
</body></html>
http://stackoverflow.com/questions/10268296/http-client-connection-in-java
이런 에러를 만나게 되면.
method 타입을 확인해야 한다.
파라미터를 method 타입에 따라 보내야 문제가 없다..........
반응형