I am trying to implement this while using axios and my question is for the useEffect in the Login.
when you are fetching, while using axios, would that be a get request then? or post? I was confused since you are sending the x-access-token header
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I am trying to implement this while using axios and my question is for the useEffect in the Login.
when you are fetching, while using axios, would that be a get request then? or post? I was confused since you are sending the x-access-token header