'Using Amadeus flight search API, how does my users search for flight when they don't have location code

I am using amadeus flight search API, built the endpoint with PHP and tested on postman, working perfectly now i am worried about how my users will use the frontend to search for flight, do they have to know the city codes to be able to search for flights? I want a situation whereby they just entered the names of the cities in the form from my frontend and they get to search for flights not entering city codes



Solution 1:[1]

All the airport and city codes are based on IATA standard. Amadeus provides also another API to get this information : Airport and city search API. you can integrate this so that your user can type a keyword for your application to get the corresponding codes.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 MinjiK