const res = await axios.get('https://httpbin.org/get', { params: { answer: 42 } }); res.headers['content-type']; // 'application/json' or 'text/html; ...
確定! 回上一頁