You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to pass a variable through headers: for example: let headers = {'x-apikey': apiKey }
but when I run it, the log says that the apiKey value is an ilegal http header this variable (apiKey) return a random string code, but when I pasted the code instead of the variable it runs.
I want to know how pass the variable.
The text was updated successfully, but these errors were encountered:
Hi there,
I'm trying to pass a variable through headers: for example:
let headers = {'x-apikey': apiKey }
but when I run it, the log says that the apiKey value is an ilegal http header this variable (apiKey) return a random string code, but when I pasted the code instead of the variable it runs.
I want to know how pass the variable.
The text was updated successfully, but these errors were encountered: