[go: up one dir, main page]

0% found this document useful (0 votes)
31 views3 pages

Student API Endpoints Guide

Uploaded by

maahsankhan93
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
31 views3 pages

Student API Endpoints Guide

Uploaded by

maahsankhan93
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 3

TCID Title/Description URI HTTP Request Authentication

1 Get Single Student Data http://localhost:3000/students/{id} GET NA

2 Get All Student Data http://localhost:3000/students/ GET NA

3 Create new Student Data http://localhost:3000/students/ POST NA

4 Update Student Data http://localhost:3000/students/{id} PUT NA

5 Delete Student Data http://localhost:3000/students/{id} DELETE NA


Authentication Request Payload Response Payload Status Code
{
"id": "a89a",
"name": "Johnny",
"location": "England",
"phone": "6565366",
NA NA 200
"courses": [
"economics",
"economics",
"accounting"
"accounting"
]
} ]
},
NA NA 200
{
"id": "d256",
"name": "Schimdt",
"name": "Schimdt Jr", "name": "Schimdt
"location": Jr",
"Germany",
"location": "Germany", "location": "Germany",
"phone": "6565377", "phone": "6565377",
NA 201
"courses": [ "courses": [
"Python", "Python",
"Software "Germany",
"location": Engineering" "Software
"location":Engineering"
"Germany",
"phone": "6565377", "phone": "6565377",
NA 200
"courses": [ "courses": [
"Django-Python", "Django-Python",
"location": "Germany",
"phone": "6565377",
NA NA 200
"courses": [
"Python",
Status Code Validation

200

200

201

200

200

You might also like