Is it possible to set environment variables for an API?

Hi,

In Bubble, is it possible to set environment variables for an API like this? How?

Docs

Thanks!

there aren’t environment variables in bubble, but if you need to use these valies for an API request you can save this data in the API connector.

1 Like

Thanks for replying! Do you mean that sending this values in the api request as headers or parameters will achieve the same purpose as environment variables?

if in the docs theyare used to make requests yes.
You probably want to figure out what the cli is doing and how to do it with api calls

1 Like