Some help regarding OAth and validation

Yes it does, in Java setRequestProperty set a connection header.
Still i don’t get why it don’t work. I used my client-id and the auth code it generated from your site.
Maybe it has something to do with Bearer? How we use this thing anyway