Skip to content

Latest commit

 

History

History
57 lines (46 loc) · 1.3 KB

File metadata and controls

57 lines (46 loc) · 1.3 KB

#GET students GET http://localhost:3000/student

# GET student # GET http://localhost:3000/student/67099586204dafb2be0993cc

# GET FisrtName # GET http://localhost:3000/student/findByFirstName/Jane

# GET No user found # GET http://localhost:3000/student/findByFirstName/Jann

# Post new student # POST http://localhost:3000/student HTTP/1.1 # content-type: application/json

# { # "first_name": "Hideki ", # "last_name": "Ryuga", # "enrolled_classes": [ # "class10", # "class20" # ], # "date_of_birth": "1979-10-31", # "address": "1407 Graymalkin Ln, North Salem, NY, 10560", # "grade_level": 10, # "home_room_teacher": "teacher10" # }

# PUT http://localhost:3000/student/67099586204dafb2be0993d4 HTTP/1.1 # content-type: application/json

# { # "first_name": "Felix", # "last_name": "Martinez", # "enrolled_classes": [ # "class1", # "class2" # ], # "date_of_birth": "2008-01-11", # "address": "220 Maple Ct, Metropolis, NY, 10006", # "grade_level": 9, # "home_room_teacher": "teacher9" # }

# DELETE # DELETE http://localhost:3000/student/

# new student # 670b5bfe0fb17a549a6f9566

# IMPORTANT!!! # delete students # thise information needed to be deleted it was added incorrectly # 670b5e388084a9f47a8a1cd1 # 670b5f9506480b7ef48ad912