This is a simple implimentation allowing the user to pass a city, or country, into a HTTP request and receive a formatted string with the captial city of that country, or the country that capital is for,
Example requests
https://capital-finder-ben-carter.vercel.app/api/country?name=lima Returns "lima is the capital of Peru"
https://capital-finder-ben-carter.vercel.app/api/capital?name=peru Returns "the capital of peru is Lima"