Professional Documents
Culture Documents
This application will provide a web site for a travel package sale. The user
will sign up, log in, or select a vacation package that includes a flight, a
rental car, and a hotel. The flight, rental car, and hotel services are
hosted on a remote site that must be contacted through a REST API Get or Post
method.
## API Endpoints
### Path
/home
### Output
`this is the debug output: cst438.domain.Package@65a7a30c`
### Path
/package/hotel_search
### Output
`this is the debug output: HotelFind [id=1, hotelId=0, name=La Quinta Inn &
Suites by Wyndham Irvine, arrivalDate=null, departureDate=null,
hotelCity=null, price=0, address=14972 Sand Canyon Ave, Irvine, CA 92618,
type=null, maxPeople=0]`
### Path
/package/car_search
### Output
`this is the debug output: CarFind [id=3, make=Toyota, model=MR2,
fuel=Premium, transmission=Manual 5-spd, year=1989, price=150, city=boston]`
### Path
/package/airline_search
### Output
`Output to be added later...`
### Path
/usercart
### Output
`this is the debug output: HotelFind [id=1, hotelId=0, name=La Quinta Inn &
Suites by Wyndham Irvine, arrivalDate=null, departureDate=null,
hotelCity=null, price=0, address=14972 Sand Canyon Ave, Irvine, CA 92618,
type=null, maxPeople=0]CarFind [id=3, make=Toyota, model=MR2, fuel=Premium,
transmission=Manual 5-spd, year=1989, price=150, city=boston]`