const getDadJoke = async () => { const config = { headers: { Accept: 'application/json' } } const res = await axios.get('https://icanhazdadjoke.com/', config) console.log(res); } 해당 icanhazdadjoke api는 json으로 받기 위해선 accecpt headers가 필요하기때문에 config 변수로 해당 값을 넣었다. https://icanhazdadjoke.com/api icanhazdadjoke icanhazdadjoke.com const getDadJoke = async () => { const config = { headers: { Accept: '..