I am trying to create a endpoint in java. I am adding the authorization as the header which is the correct one [tested and verified]. The function is as below:
pr