PRN231_-_PE_-_SU_2024_2169.webp
Momo91

PRN231_-_PE_-_SU_2024_2169.webp

  • Media owner Momo91
  • Ngày thêm
http://localhost:5000/api/User/1
Server response
Code
Details
200
Response body
{
"userId": 1,
"username": "john_doe",
"userEmail": "[email protected]",
"courses": [
{
"courseId": 1,
"title": "Data Science 101",
"enrolledDate": "2024-01-01T00:00:00"
"courseId": 2,
"title": "Machine Learning Basics",
"enrolledDate": "2024-02-01T00:00:00"
}
1.3 The API at url /api/Course/{cid}/{uid} that allows to delete information about enrollment in database.
using DELETE method.
In case the user with userld equal to {uid) is not enrolled in the course with courseld equal to {cid), return NoContent.
Otherwise, remove the enrollment of the user with userld equal to {uid) in the course with courseld equal to {cid} by deleting the data in the table Enrollments and return OK. Note: If any error occurs during the deletion process, return Conflict.
1.4 The API at url/api/User/Login that allows user allow the client to provide a username and password (in MD5 encrypted form) to perform login.
+ 100%
Zoom
Close
Chưa có bình luận nào.

Thông tin

Category
PRN231
Thêm bởi
Momo91
Ngày thêm
Lượt xem
1,792
Lượt bình luận
0
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
PRN231_-_PE_-_SU_2024_2169.webp
File size
242.6 KB
Dimensions
2560px x 1108px

Share this media

Back
Bên trên Bottom