import axios from "axios";
/// DELETE REQUEST
handleDeleteById(id).then((res) => {
alert("deleted")
});
function handleDeleteById(id) {
// console.log(data);
// {name: "mysore", population: 11111, country: "India"}
return axios({
baseURL: "baseURL",
url: `/${id}`,
method: "DELETE"
});
}