POST /user/login
요청 값
{ "email": "string", "password": "string" } ex) { "email": "member@email.com", "password": "need1234" }
응답 값(200)
{ "message": "success", "data": { "grantType": "Bearer", "accessToken": "{발급된 토큰}" } }
스웨거에서 헤더에 토큰 설정 방법


Curl ⇒ 프론트 쪽에서 헤더에 등록할 때 아래와 같이
curl -X GET "http://localhost:8080/donations/1" -H "accept: */*" -H "Authorization: Bearer 발급된 토큰" (Bearer 다음 한 칸 뛰어야함)
![[팀12] 기부니🧡](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F4d3c7111-b629-432b-8af2-5dad455cb1f7%2Fneed-it-dark.png?table=block&id=f41327b8-ca6b-4ec6-9487-af702393c922&cache=v2)