Answers for "display cookies from backend"

0

display cookies from backend

axios.post('http://localhost:3001', {}, { withCredentials: true })

axios.post('http://localhost:5000/api/auth/login',
      {
        email,
        password
      }
      ,
      {
        withCredentials: true
      }
)
Posted by: Guest on January-25-2022

Browse Popular Code Answers by Language