We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
curl -X POST "http://localhost:8080/users/sign-in" -H "accept: */*" -H "Time-Zone: KST" -H "Content-Type: application/json" -d "{ \"fcmToken\": \"fcmtoken\", \"password\": \"test\", \"userId\": \"test\"}"
{ "tokens": { "authenticationToken": "eyJ0eXBlIjoiSldUIiwiYWxnIjoiSFMzODQifQ.eyJpc3MiOiJBUEkgU2VydmVyIiwic3ViIjoiQXV0aGVudGljYXRpb24gVG9rZW4iLCJleHAiOjE1ODA0OTczMTcsImlhdCI6MTU4MDQxMDkxNywidXNlcklkIjoidGVzdCIsImlkIjoxfQ.YPE2iCyT_G78vjahO80GvjHuEqgEMIkC3LNNCDBtcOU_VnJZVspMny2PwePWzNRG", "refreshToken": "eyJ0eXBlIjoiSldUIiwiYWxnIjoiSFMzODQifQ.eyJpc3MiOiJBUEkgU2VydmVyIiwic3ViIjoiUmVmcmVzaCBUb2tlbiIsImV4cCI6MTU4MzAwMjkxNywiaWF0IjoxNTgwNDEwOTE3LCJ1c2VySWQiOiJ0ZXN0IiwiaWQiOjF9.K_mKmQZ8wasuX2u7_cDEAl_mMEIjBBtQv7G5_RnbAUkWGrloU_MeeZFDl3HC5Ynk" }, "user": { "id": 1, "userId": "test", "constellation": "물병자리", "timeZone": "KST", "horoscopeAlarmFlag": true, "questionAlarmFlag": true, "horoscopeTime": "23:00:00", "questionTime": "13:00:00" } }
//Request Worn Field { "error": { "code": 4001, "message": "Request Field Null or Wrong Form - Check Request Field" } }
//Nonexistent UserId { "error": { "code": 4104, "message": "Nonexistent UserId” } }
//Is Not Equal To Password { "error": { "code": 4105, "message": "Is Not Equal To Password” } }
The text was updated successfully, but these errors were encountered:
korea8378
No branches or pull requests
로그인 API SPEC
Request
Response
Success
Fail
400 BAD_REQUEST
401 UNAUTHORIZED
Check List
The text was updated successfully, but these errors were encountered: