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

updatet readme and homepage accordantly to previus error

parent b08d5f07
No related branches found
No related tags found
No related merge requests found
...@@ -49,7 +49,7 @@ http://localhost:8080/countryinfo/v1/population/{country_code}{?startyear-endYea ...@@ -49,7 +49,7 @@ http://localhost:8080/countryinfo/v1/population/{country_code}{?startyear-endYea
Viser status for de eksterne API-ene, versjon og applikasjonens oppetid. Viser status for de eksterne API-ene, versjon og applikasjonens oppetid.
```sh ```sh
http://localhost:8080/status http://localhost:8080/countryinfo/v1/status
``` ```
......
...@@ -24,7 +24,7 @@ const INFO_HEADER = "Get country information" ...@@ -24,7 +24,7 @@ const INFO_HEADER = "Get country information"
const STATUS_HEADER = "Get status info" const STATUS_HEADER = "Get status info"
const POPULATION_HEADER = "Get population info" const POPULATION_HEADER = "Get population info"
const STATUS_DESCRIPTION = "Retrieve information about the API status." const STATUS_DESCRIPTION = "Retrieve information about the API status."
const STATUS_URL = "http://localhost:8080/status/" const STATUS_URL = "http://localhost:8080/countryinfo/v1/status/"
const POPULATION_DESCRIPTION = "It requires the ISO 3166-2 country code and a optional limit of the years in the repsonse" const POPULATION_DESCRIPTION = "It requires the ISO 3166-2 country code and a optional limit of the years in the repsonse"
const POPULATION_URL = "http://localhost:8080/countryinfo/v1/population/{ISO_3166-2_country_code}{?startYear-endYear}" const POPULATION_URL = "http://localhost:8080/countryinfo/v1/population/{ISO_3166-2_country_code}{?startYear-endYear}"
const POPULATION_URL_EXAMPLE = "http://localhost:8080/countryinfo/v1/population/NO?2010-2015" const POPULATION_URL_EXAMPLE = "http://localhost:8080/countryinfo/v1/population/NO?2010-2015"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment