Skip to content

Commit

Permalink
fix: Correct the API route mentioned in the README
Browse files Browse the repository at this point in the history
Previous route was missing the `/api/` prefix in the path.
  • Loading branch information
neil-hughes authored Feb 10, 2023
1 parent 4ce3b52 commit 79d2e70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ You should see a message:

"πŸ‘ Okay! The server is responding! πŸ™Œ"

πŸ‘‰ In your browser, navigate to the API route `http://localhost:8080/misdemeanours/3`
πŸ‘‰ In your browser, navigate to the API route `http://localhost:8080/api/misdemeanours/3`

You should see a JSON object being returned from the GET request to that route. Try changing the parameter at the end to another number, or to a random string.

Expand Down

0 comments on commit 79d2e70

Please sign in to comment.