Примеры к занятию 31 группы 2021-08.

This commit is contained in:
kataus
2021-12-25 09:48:33 +03:00
parent 154af8c1c5
commit 873819926f
@@ -17,6 +17,6 @@ public class CountryServiceRest implements CountryService {
@Override
public Country getCountry( String id ) {
log.info( "Request" );
return rest.getForObject( "http://api.countrylayer.com/v2/alpha/" + id + "?access_key=c9abc59091c6b3ace3c5cb6ea7f16e4a", Country.class );
return rest.getForObject( "http://api.countrylayer.com/v2/alpha/" + id + "?access_key=[!!!Your key!!!]", Country.class );
}
}