I have to modify existing project to add tokens for firebase to googleapis, but while trying to execute a REST call using restTemplate.exchange to register tokens for firebase,