import axios from 'axios';
const App = () => {
const createSession = (event)=>{
event.preventDefault();
axios.post('http://localhost:3000', {}, {withCredentials:true}).then((response)=>{
console.log(response);
})
}
const getSession = (event)=>{
event.preventDefault();
axios.get('http://localhost:3000', {withCredentials:true}).then((response)=>{
console.log(response);
})
}
return <>
>
}
export default App;