Before week ago, https://restcountries.eu/rest/v2/all was giving country code but now it is not working so how can someone use it to get all country code.
Code throws The SSL connection could not be established, see inner exception. The remote certificate is invalid according to the validation procedure from where the rest call made of 'https://restcountries.eu/rest/v2/all' this API.
Any alternate API to get all country code, name and flag. as we are using it at ASP.Net side, front-end side(Angular) Andriod, and iOS App. It would be better to have API.