American Express Interview Question

How to create GET and POST request with Express, and then make a search from the JSON data with given params