How to consume rest api with custom authentication

How to consume rest api with custom authentication

  

Hi all,

I want to consume google fit rest api service for that we have to set the authentication to custom authentication. I able to fix the authentication to custom for exposing rest api but i don't know to do it for consuming rest api can anyone help me with a solution

Regards,

Koushik

I think I'm not mistaken when I say you'll have to play around with the HTTP Headers or even use the "OnBeforeRequest" function so you can properly set your custom authentication.