diff --git a/README.md b/README.md index 25a2dafebaa2e26dac38cd79322f2ed93f9d33b6..5a23d7379902b61ce3f219a48d4ffef4c06c782d 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,7 @@ I tillegg vises eksempler på hvordan du kan sende forespørsler til de ulike en ## Endepunkter ### info Hente informasjon om et land basert på en 2-bokstavs landkode (ISO 3166-2). + ```sh http://localhost:8080/countryinfo/v1/info/{country_code}{?limit=10} ``` @@ -33,6 +34,7 @@ Hente informasjon om et land basert på en 2-bokstavs landkode (ISO 3166-2). * Eksempel: http://localhost:8080/countryinfo/v1/info/NO?limit=4 #### populasjon Hente populasjonsdata om et land basert på en 2-bokstavs landkode (ISO 3166-2). + ```sh http://localhost:8080/countryinfo/v1/population/{country_code}{?startyear-endYear} ``` @@ -41,6 +43,7 @@ Hente populasjonsdata om et land basert på en 2-bokstavs landkode (ISO 3166-2). ### status Viser status for de eksterne API-ene, versjon og applikasjonens oppetid. + ```sh http://localhost:8080/countryinfo/v1/status ```