Skip to content
Snippets Groups Projects
Commit 8e3026e1 authored by Mathilde Hertaas's avatar Mathilde Hertaas
Browse files

more readme editing

parent a8161337
No related branches found
No related tags found
No related merge requests found
......@@ -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
```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment