Would it be possible to provide some sample code to implement the /flights/search endpoint:
The aeroapps repo has an instance in Java where it uses that REST endpoint:
aeroapps