Eureka: http://localhost:8010/
curl --location --request POST 'http://localhost:8011/users-ws/users' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data-raw '{
"firstName": "Prateek1",
"lastName": "Ashtikar1",
"password": "12345678",
"email": "prateek.ashtikar1@gmail.com"
}'
curl --location --request POST 'http://localhost:8011/users-ws/users/login' \
--header 'Content-Type: application/json' \
--data-raw '{
"email": "prateek.ashtikar1@gmail.com",
"password" : "12345678"
}'
Copy UserId: 0a55a956-130a-4f23-828e-5f450f6af75c and use this UserId to make the pass
curl --location --request GET 'http://localhost:8011/users-ws/users/0a55a956-130a-4f23-828e-5f450f6af75c' \
--header 'Authorization: Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiIwYTU1YTk1Ni0xMzBhLTRmMjMtODI4ZS01ZjQ1MGY2YWY3NWMiLCJleHAiOjE2NTgxNDY2NjF9.4TyVDXboPnGjDU761ZyVwl0x9v8NqgMgHUwEPeqcL7ZQJSVjDAqJzfFpNASInL-US5d2RYn5dJlVRCdbVwBgJQ' \
--header 'Accept: application/json'