getで200が返ってきた物
const res = await axios({ method: 'get', url: '呼び出すAPIのURL', headers: { 'content-type': 'application/json' } })
postで415が返ってきた物
const res = await axios({ method: 'post', url: '呼び出すAPIのURL', headers: { 'content-type': 'application/json' } })
postで302が返ってきたもの
const res = await axios.post('呼び出すAPIのURL', { headers: { 'content-type': 'application/json' } })