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-up" -H "accept: */*" -H "Authorization: Bearer eyJ0eXBlIjoiSldUIiwiYWxnIjoiSFMzODQifQ.eyJpc3MiOiJBUEkgU2VydmVyIiwic3ViIjoiU2lnbiBVcCBUb2tlbiIsImV4cCI6MTU4MDQ5NjIxMCwiaWF0IjoxNTgwNDA5ODEwLCJlbWFpbCI6ImtvcmVhODM3OEBuYXZlci5jb20ifQ.mD32IUroKxfpgP8ek2fhzya7CuGQYHYN2CxKHv_rnheq0RWXqLSa92RyiXx2mhhH" -H "Time-Zone: KST" -H "Content-Type: application/json" -d "{ \"constellation\": \"물병자리\", \"email\": \"[email protected]\", \"password\": \"test\", \"userId\": \"test\",\"fcmToken\":\"e_cpiq4ia8A:APA91bF2fLZbUWzI7cKNLfthSbYHaImfdRykHtu7Oq1iRFxpybiGs12tz84oFnaeJ-03Uu2tDD0EszGIfuqbazsYmB9ukqDQqlQkR0k7c55MqEu46ZCTxXstMGg_3HM4fHGpKpKqypMH\"}"
{ "tokens": { "authenticationToken": "eyJ0eXBlIjoiSldUIiwiYWxnIjoiSFMzODQifQ.eyJpc3MiOiJBUEkgU2VydmVyIiwic3ViIjoiQXV0aGVudGljYXRpb24gVG9rZW4iLCJleHAiOjE1ODA0OTY0NzAsImlhdCI6MTU4MDQxMDA3MCwidXNlcklkIjoidGVzdCIsImlkIjoxfQ.KaRR9Ma9aq674zORQQys1Esz3p0yxT52Sn8crR3-q6GzZZ3tXKnGNO1k1a6TgAFS", "refreshToken": "eyJ0eXBlIjoiSldUIiwiYWxnIjoiSFMzODQifQ.eyJpc3MiOiJBUEkgU2VydmVyIiwic3ViIjoiUmVmcmVzaCBUb2tlbiIsImV4cCI6MTU4MzAwMjA3MCwiaWF0IjoxNTgwNDEwMDcwLCJ1c2VySWQiOiJ0ZXN0IiwiaWQiOjF9.1T3N12hYeVZe32eeRsHRY3gsGIsNoS9dyNXYii8dYjguMxGGsx1X-tIXGPkeDDqd" }, "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" } }
//Not Found Constellation { "error": { "code": 4005, "message": “Not Found Constellation” } }
//Exists UserId { "error": { "code": 4006, "message": “Exists UserId” } }
//Fail Authentication { "error": { "code": 4101, "message": "Fail Authentication - check token” } }
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: