September 2019
Intermediate to advanced
668 pages
15h 59m
English
Now, let's use the access tokens we have acquired to call the protected APIs!
ACCESS_TOKEN=an-invalid-tokencurl https://localhost:8443/product-composite/2 -k -H "Authorization: Bearer $ACCESS_TOKEN" -i

The error message clearly states that the access token is invalid!
ACCESS_TOKEN={a-reader-access-token}curl https://localhost:8443/product-composite/2 ...