Cara Memeriksa Metode Permintaan adalah Get
import axios from 'axios';
const Api = axios.create({
baseURL: 'https://example/',
});
Api.interceptors.response.use(response => {
if (response.data.message && response.request._method !== 'GET') {
console.log(response.data.message);
}
return response;
},
MRLSK8