diff --git a/README.md b/README.md index f50ca3f8e4baaeb67b34b7deefc015a91e6fa90c..93d2231d85a87b6e9f54100bd330839756f9251d 100644 --- a/README.md +++ b/README.md @@ -9,11 +9,14 @@ of these to list here but they are documented in the program I was unsure where the "status code 200 if everything is okay" should be printed out so i just printline the status code to the cl after every get - I used 503 as the error code for diag on the api check, this is called if the server is whatever reason unreachable I was not entierly sure what to put under version in diag so i put in current go verison of the server +I have understood the Path: country/{:country_identifier}{?limit={:limit}} part of the task as meaning that the limit part is not mandetory, making it possible for the +to both just search for example for the country US and get by default 10 resuslts, or us&limit=300 and get 300 responses + + missing error checks: if country is given more than one letter it breaks, this is due to the limitations of my hard coded formatting