Hi -
I am trying to make an API connection (JSON). I am using the "File," "JSON" option. In the headers, I enter the key and for the value, if I enter the actual key, the connection works fine and the data is returned. However, if I use a variable {{apikey}} where I've stored the key as string, no data is returned. I've tried the variable entry as {apikey} and {{apikey}}. I think double-curly braces is correct. Neither works though. Any suggestions?
I also tried using a connection with REST / OData with the API URL and custom headers and the connection test fails every time.
Thanks.
API Connection JSON with variable
-
- Posts: 7332
- Joined: Tue Mar 20, 2018 5:34 am
Re: API Connection JSON with variable
Hello,
Unfortunately, at the current moment, variables are not supported in headers.
Thank you.
Unfortunately, at the current moment, variables are not supported in headers.
Thank you.
-
- Posts: 7332
- Joined: Tue Mar 20, 2018 5:34 am
Re: API Connection JSON with variable
Hello,
You are welcome.
You are welcome.