Get information about countries via a Next.js API https://rest-countries-next-js-gilt.vercel.app/
Below are described the REST endpoints available that you can use to search for countries
https://rest-countries-next-js-gilt.vercel.app/api/countries
Get all country names
https://rest-countries-next-js-gilt.vercel.app/api/countries/names
https://rest-countries-next-js-gilt.vercel.app/api/countries/names
Get by country name.
https://rest-countries-next-js-gilt.vercel.app/api/countries/country?countryName={countryname}
https://rest-countries-next-js-gilt.vercel.app/api/countries/country?countryName=canada
https://rest-countries-next-js-gilt.vercel.app/api/countries/country?countryName=denmark
Search by country name. It will load countries which contain search characters
https://rest-countries-next-js-gilt.vercel.app/api/countries/search?name=land
https://rest-countries-next-js-gilt.vercel.app/api/countries/search?name=stan
Get all capital cities of all countries
https://rest-countries-next-js-gilt.vercel.app/api/countries/capitalcities
https://rest-countries-next-js-gilt.vercel.app/api/countries/capitalcities