Dynamic API Header Value Is Not Populating

Wappler Version: 3.3.6
Operating System: Mac OS Big Sur

Expected behavior

  1. A Server-Side API request responds with JSON data.
  2. Part of the Response Data from the server-side request is then dynamically set as an API header value in a client-side API request, and the request is sent.
    Screen Shot 2020-10-08 at 12.09.45 PM
  3. Request is successful

Actual behavior

  1. A Server-Side API request responds with JSON data.

  1. The response data is not populating within the header value and the request is returning as unauthorized.

Screen Shot 2020-10-08 at 12.03.56 PM

If I use the same value elsewhere, eg. display it on the page somewhere, that works fine. It just won’t populate in the API header value.

I also tried setting the value as a session variable, which works, but it, too, cannot be sent as an API Header value.

The API request is successful if I set the header value manually (hard code it), but the value will change for each session, so it needs to be dynamic.

Community Page
Last updated: