
* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.
* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.
function hey() {
$.ajax({
type: "GET",
url: "/test?title_give=봄날은간다", <-- 여기 부분을
data: {},
success: function (response) {
console.log(response)
}
})
}
function hey() {
$.ajax({
type: "GET",
url: "/test",
data: {title_give: '봄날은간다'}, <-- 이렇게 처리 했을 때
success: function (response) {
console.log(response)
}
})
}
두 경우에서 차이가 뭔가요??
