It implements edit profile page endpoint. It accepts a json object as body. For example the following:
{
"email": "melih@gmail.com",
"username": "melih",
"is_expert": false,
"date_joined": "2022-12-04T12:07:36.293874Z",
"is_admin": false,
"age": null,
"name": "melih aktas",
"last_login": "2022-12-04T12:10:24.743456Z",
"profile_image": null
}
Then it saves it to the database. Based on the implementation of the frontend, it updates the appropriate fields.
It implements edit profile page endpoint. It accepts a json object as body. For example the following: { "email": "melih@gmail.com", "username": "melih", "is_expert": false, "date_joined": "2022-12-04T12:07:36.293874Z", "is_admin": false, "age": null, "name": "melih aktas", "last_login": "2022-12-04T12:10:24.743456Z", "profile_image": null } Then it saves it to the database. Based on the implementation of the frontend, it updates the appropriate fields.