Description
When using endpoints that amadeus does not support, the response is just "Response error"
Steps to Reproduce
- Go to localhost:8500/
2 For the parameters, use:
- Origin: SFO
- Destination: LON
- First Departure Date: 2019-03-23
- Last Departure Date: 2019-03-23
- Duration: 4
- NonStop only: Yes
Expected Behavior:
To get a page that lists the flight price from 2019-03-23
Actual Bahavior:
Response error
Stable Behavior? [What percentage of the time does it reproduce?]
Right now it is stable, 100% reproducibility.
Versions
Python: python2.7
Pip: pip 19.0.1
Checklist
Please make sure you checked the following:
Are you running Python 2.7 or 3.6? Yes
Did you download the latest version of this package? Yes
Possible solution
- When the endpoints are not supported by the API, show a more useful response