From f65d9102d664517369c4159f83dde4f7e21d1896 Mon Sep 17 00:00:00 2001 From: Aksel Baardsen <akselba@stud.ntnu.no> Date: Sun, 20 Oct 2019 21:50:57 +0200 Subject: [PATCH] Justification for 502 /country/ README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a40e9c9..1144c6e 100644 --- a/README.md +++ b/README.md @@ -17,4 +17,5 @@ NOTE: Assumptions/Interpretation of task (where specifications were scarce): - Species 'year' is only asking for the 'year' key, not 'bracketYear' too -- The specified json values should be string if surrounded by "", and numbers if only '<>' surrounds it (only /diag/'s uptime and /country/'s []speciesKey are numbers) \ No newline at end of file +- The specified json values should be string if surrounded by "", and numbers if only '<>' surrounds it (only /diag/'s uptime and /country/'s []speciesKey are numbers) +- This API accepts any two-letter /country/{:countryidentifier}: therefore it should return 502 if 404 is returned by the restcountries API \ No newline at end of file -- GitLab