Welcome to the Sabre API
This page provides an overview of the Sabre API endpoints for your project.
Base URL
http://127.0.0.1:8000/api
Available Endpoints
- POST /search — List available flights
- POST /price — Get price for selected flight
- POST /booking — Create a new booking
- POST /ticket — Issue Ticket
Authentication
All endpoints require a valid API token in the header:
Authorization: Bearer <your_token>
Notes
Ensure that your requests follow the JSON format and include all required parameters.