You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 7, 2024. It is now read-only.
I just finished Part 5 of the tutorial, but I had trouble curling the first employee id as shown in the example under Touring you secured REST service. In the example, it says to "curl -v -u greg:turnquist localhost:8080/api/employees/1", which returns Frodo Baggins (as he's the first employee in the database). However, for me, when I try and curl the employee id 1, it gives me a 404 instead of returning the Frodo Baggins employee (the same happens for employee id 2 as well). I can successfully retrieve Frodo Baggins when I curl id 3 though, which returns the employee details as normal.
Essentially, my employees id's seem to be starting at 3 and not 1. My theory is maybe this is due to the two managers being created who also have id's and they're being created first?
The text was updated successfully, but these errors were encountered:
Hi,
I just finished Part 5 of the tutorial, but I had trouble curling the first employee id as shown in the example under Touring you secured REST service. In the example, it says to "curl -v -u greg:turnquist localhost:8080/api/employees/1", which returns Frodo Baggins (as he's the first employee in the database). However, for me, when I try and curl the employee id 1, it gives me a 404 instead of returning the Frodo Baggins employee (the same happens for employee id 2 as well). I can successfully retrieve Frodo Baggins when I curl id 3 though, which returns the employee details as normal.
Essentially, my employees id's seem to be starting at 3 and not 1. My theory is maybe this is due to the two managers being created who also have id's and they're being created first?
The text was updated successfully, but these errors were encountered: