참고로, 브라우저에서 해당 URL은 오류없가 없습니다.
작업은 서버에서 curl을 이용해서 가져옵니다만, 이것이 이전에는 문제가 되지 않았었거든요…
HTTP/1.1 502 Bad Gateway
Server: nginx
Date: Tue, 17 Oct 2017 15:21:42 GMT
Content-Type: text/html
Content-Length: 537
Connection: keep-alive
ETag: "590006b9-219"
<!DOCTYPE html>
<html>
<head>
<title>Error</title>
<style>
body {
width: 35em;
margin: 0 auto;
font-family: Tahoma, Verdana, Arial, sans-serif;
}
</style>
</head>
<body>
<h1>An error occurred.</h1>
<p>Sorry, the page you are looking for is currently unavailable.<br/>
Please try again later.</p>
<p>If you are the system administrator of this resource then you should check
the <a href="http://nginx.org/r/error_log">error log</a> for details.</p>
<p><em>Faithfully yours, nginx.</em></p>
</body>
</html>
curl -v -X GET https://apis.daum.net/local/v1/search/keyword.json\?apikey\=\&query\=%EC%8B%A0%EB%B6%81%EB%A9%B4%20%ED%8F%89%EC%96%91%EA%B0%88%EB%B9%84\&format\=json\&count\=10
외람되지만 지나가다 궁금한게 생겨서 질문드립니다.
HTTP spec상 method들은 case-sensitive 인데 "대소문자를 가리는 경우는 참으로 드물다"는게 어떤 뜻에서 말씀하신건지 궁금합니다.
혹시 다른 참고 문헌이나 다른 API등에서 경험하시고 체득하신것인지…