
해당 코드의 data 부분에서 url_give, comment_give 이 두개의 자료를 인식을 못합니다
다른 변수 넣으면 인식을 하는데 왜이럴까요
function postArticle() {
let url = $('#post-url').val
let comment = $('#post-comment').val()
$.ajax({
type: "POST",
url: "/memo",
data: {url_give:url,comment_give:comment},
success: function (response) { // 성공하면
alert(response["msg"]);
}
})
}
