Retrieve airline tickets from different integrations
To start the application, execute a Gradle Wrapper run task.
./gradlew run
Test requesting your solicitations using heroku.
curl --request GET \
--url 'https://airline-tickets-api.herokuapp.com/retrieve-solicitations'
- GET /retrieve-solicitations
Response
{
"cheapestTickets": [
{
"company": "LATAM Airlines Brasil",
"origin": "FLN",
"destination": "GRU",
"date": "01-09-2022",
"price": 1031.48
},
{
"company": "LATAM Airlines Brasil",
"origin": "SDU",
"destination": "CGH",
"date": "01-10-2022",
"price": 446.83
}
],
"summary": {
"error": [
"Could not extract tickets for SAO to FLN"
]
}
}
./gradlew test