How to reference access_token from chained request

  • 1
  • Question
  • Updated 2 years ago
  • In Progress
Hi!

I'm trying to figure out how to obtain an access token and then specify it in the header of my next request.  I have specified "Authentication URL" but can't seem to reference the access_token in my second request.  i found something that say i should format my "headers to send with every request" to the following, but it's now working. 


Authorization: : \"basic \" + {$Auth.Response.Body.access_token}


Any help would be greatly appreciated. 
Photo of jmd2004

jmd2004

  • 70 Points

Posted 2 years ago

  • 1
Photo of Emily Davis

Emily Davis, Employee

  • 3,502 Points 3k badge 2x thumb
Hi, there,
Have you tried using double braces around the access token variable (i.e. {{$Auth.Response.Body.access_token}} )? Let me know if that works.

Emily