Wappler Version: 3.3.6
Operating System: Mac OS Big Sur
Expected behavior
- A Server-Side API request responds with JSON data.
- 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.
- Request is successful
Actual behavior
- A Server-Side API request responds with JSON data.
- The response data is not populating within the header value and the request is returning as unauthorized.
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:
Last updated: