Request
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
Request Code Samples
curl --location --request GET 'http://127.0.0.1:80/api/accounts/instructors/3/'
Responses
application/json {
"url": "http://127.0.0.1:80/api/accounts/instructors/3/",
"id": 3,
"username": "instructor1",
"email": "instructor1@gmail.com",
"first_name": "instructor1",
"second_name": "instructor1",
"third_name": "instructor1",
"fourth_name": "instructor1",
"last_name": "instructor1",
"gender": "m",
"birth_date": "2002-02-02",
"city": "Cairo",
"address": "Address",
"phone": "+201111111111",
"is_active": true,
"is_staff": false,
"is_superuser": false,
"date_joined": "2024-03-16T20:48:01.489539Z",
"user_type": 2,
"specialized_in": "Software Development"
}
Modified at 2024-03-16 21:19:13