가이드 : https://developers.kakao.com/docs/latest/ko/daum-search/dev-guide#search-doc
<script src="https://code.jquery.com/jquery-3.6.0.js" integrity="sha256-H+K7U5CnXl1h5ywQfKtSj8PCmoN9aaq30gDh27Xc0jk="
crossorigin="anonymous"></script>
<script>
$.ajax({
type: "GET",
url: "https://dapi.kakao.com/v2/search/web?query=test",
beforeSend: function (xhr) {
xhr.setRequestHeader("Content-type", "application/json");
xhr.setRequestHeader("Authorization", "KakaoAK 여기에REST_API_KEY를 입력");
},
success: function (res) {
console.log(res);
}
});
</script>
'카카오 REST API & SDK > Daum 검색' 카테고리의 다른 글
[REST API - PHP] Daum 검색 - v20201205 (0) | 2020.12.05 |
---|
댓글