Request
Send your HTTP requests with an Authorization
header that contains the word Basic followed by a space and a base64-encoded string username:password Example:Authorization: Basic *****************
Body Params application/json
{
"user": {
"fullName": "string",
"phoneNumber": "string",
"profilePicture": "string",
"fcmToken": "string"
}
}
Request Code Samples
curl --location --request PATCH 'http://localhost:8080/auth/me' \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data-raw '{
"user": {
"fullName": "string",
"phoneNumber": "string",
"profilePicture": "string",
"fcmToken": "string"
}
}'
Responses
{
"code": 0,
"result": {
"id": "string",
"username": "string",
"createdAt": "string",
"updatedAt": "string",
"email": "string",
"fullName": "string",
"profilePicture": "string",
"phoneNumber": "string",
"emailVerified": true,
"phoneNumberVerified": true,
"fcmTokens": [
[
"string"
]
]
},
"error": "string"
}
Modified at 2026-01-25 17:36:30