ajax 헤더값 전송하기 $.ajax({ type: "GET", url: "/getdata", dataType:"json", cache: false, contentType: "application/json; charset=utf-8", beforeSend: function (req) { req.setRequestHeader('Api-Key', 'testkey1hb23jh346h3v339d0fk90f438fd9e'); req.setRequestHeader('Content-Type', 'application/json; charset=utf-8'); req.setRequestHeader('Auth-Token-Web', 'testWeB91F9gd3K24fgd4etnaD'); }, success: function..