📋 Endpoint Details
Method:
GET
Path:
/api/profile
Authentication:
Required - Include Authorization: Bearer <token> header
📥 Response Example
{
"success": true,
"message": "Profile retrieved successfully",
"data": {
"fullName": "John Doe",
"email": "john@example.com",
"phone": "+1234567890",
"city": "New York",
"state": "NY"
}
}
💡 Usage Tips
cURL Example:
curl -X GET \
http://localhost:3000/api/profile \
-H "Authorization: Bearer YOUR_TOKEN_HERE"