db-04-flights/requests.http
Jonas Hinterdorfer d905f7c8ae implemented task 4
2025-03-16 13:33:07 +01:00

21 lines
436 B
HTTP

PUT http://localhost:3000/api/passengers/123456789
Content-Type: application/json
{
"name": "John Doe",
"dateOfBirth": "1990-01-01T00:00:00.000Z",
"isFemale": false
}
### get all
GET http://localhost:3000/api/passengers/
### get one
GET http://localhost:3000/api/passengers/123456789
### get all airports
GET http://localhost:3000/api/airports/?icaoCodes=true
### get one airports
GET http://localhost:3000/api/airports/EDDF