Executing the request using the access token

Once we have ;access_token, we can execute the request using ;access_token, as shown in the following screenshot:

As you can see in the preceding screenshot, we provide the access token in the request header called Authorization. We use the value of the format "Bearer {access_token}". Authentication succeeds and we get the expected resource details.

Get Mastering Spring 5.0 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.