How to specify access token in Blogger Google API to insert a post?

I am exploring Google Blogger's API. I want to insert a post from a Java standalone application. I have managed to generate an authentication code and an access token.

I am trying to follow the code example available here, but it does not specify how to set the access token. Can anyone clarify this? Do you have an operational code example to share?

Thanks.

Upvotes: 1

Views: 443

Answers (1)

Jerome
Jerome

Reputation: 2184

You need to specify your access token in the headers of your HTTP request.

Authorization:  Bearer yourAccessTokenHere

Upvotes: 1

Related Questions