I am calling an API that has different environment (dev, staging, prod) and I want to be able to choose esaily between one of them without going throught every HTTP request or data query,
is that possible ?
Thanks
I am calling an API that has different environment (dev, staging, prod) and I want to be able to choose esaily between one of them without going throught every HTTP request or data query,
is that possible ?
Thanks
@vincent_wasteels, you can edit integrations directly in the workspace → integrations view:
https://studio.plasmic.app/workspaces/your-workspace-id#tab=dataSources
Thanks for your answer @sarah_ahmed , is there something similar for the HTTP REST API Fetcher component ? it has a URL props to fetch an API, and I am using this components in many pages
You can register a global context that stores the environment name and set a dynamic value on the Url that uses it. Read more about global contexts here: Global Contexts | Learn Plasmic