System Information
- Strapi Version: 4.1.12
- Operating System: Windows
- Database: SQLite
- Node Version: 16.14.2
- NPM Version: 8.5.0
Through Postman, I’m trying this GET request: http://localhost:1337/api/users/me?fields=firstName. Which means, it should really just return the ID and the firstName
. But here’s what I’m getting.
{
"id": 1,
"username": "john",
"email": "john@gmail.com",
"provider": "local",
"confirmed": false,
"blocked": false,
"createdAt": "2022-06-13T01:22:46.531Z",
"updatedAt": "2022-06-13T01:22:46.531Z",
"firstName": "John",
"lastName": "Doe",
"contactNo": "9078616905",
"birthday": null,
"civilStatus": null,
"role": {
"id": 1,
"name": "Admin",
"description": "Admin can access admin page, and the lounge.",
"type": "authenticated",
"createdAt": "2022-06-07T03:52:15.927Z",
"updatedAt": "2022-06-13T02:32:37.975Z"
}
}