From a81613379b6349217e8f84c23c570b90a7f0e1ac Mon Sep 17 00:00:00 2001 From: Mathilde Hertaas <maimh@stud.ntnu.no> Date: Thu, 6 Mar 2025 12:00:13 +0100 Subject: [PATCH] edited format --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index e730012..25a2daf 100644 --- a/README.md +++ b/README.md @@ -25,22 +25,22 @@ I tillegg vises eksempler på hvordan du kan sende forespørsler til de ulike en ## Endepunkter ### info - 1. Hente informasjon om et land basert på en 2-bokstavs landkode (ISO 3166-2). +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} ``` - * Metode: GET - * Eksempel: http://localhost:8080/countryinfo/v1/info/NO?limit=4 + * Metode: GET + * Eksempel: http://localhost:8080/countryinfo/v1/info/NO?limit=4 #### populasjon - 2. Hente populasjonsdata om et land basert på en 2-bokstavs landkode (ISO 3166-2). +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} ``` - *Metode: GET - * Eksempel: http://localhost:8080/population/NO?limit=2010-2015 + *Metode: GET + * Eksempel: http://localhost:8080/population/NO?limit=2010-2015 ### status - 3. Viser status for de eksterne API-ene, versjon og applikasjonens oppetid. +Viser status for de eksterne API-ene, versjon og applikasjonens oppetid. ```sh http://localhost:8080/countryinfo/v1/status ``` -- GitLab