| Write java code to Create a user profile API with CRUD operations using Spring Boot. accepts GET/POST/PUT/DELETE /api/users/:id; validates authorization; performs CRUD operations; returns user data. Structure the project as: src/main/java/controllers/, models/, services/. Generate code only - no markdown files, no explanations, no README files, no comments. Keep output concise and purpose-ready. |