Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
assignment1
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mathilde Hertaas
assignment1
Commits
d875847c
Commit
d875847c
authored
4 months ago
by
Mathilde Hertaas
Browse files
Options
Downloads
Patches
Plain Diff
updatet readme and homepage accordantly to previus error
parent
b08d5f07
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+1
-1
1 addition, 1 deletion
README.md
handelers/constants.go
+1
-1
1 addition, 1 deletion
handelers/constants.go
with
2 additions
and
2 deletions
README.md
+
1
−
1
View file @
d875847c
...
@@ -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
```
```
...
...
This diff is collapsed.
Click to expand it.
handelers/constants.go
+
1
−
1
View file @
d875847c
...
@@ -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"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment