Is there a way to make the base URL of the API a node is calling configurable, when building a custom node?
My first intuition would be to add a parameter for this but then the user would need to set this with every request which might get cumbersome fast. Maybe this could be configured with the credentials?
We normally do this in the credential, If you check one of the existing nodes like Wordpress you can see how we do this. If you are using the declarative style you can see how I normally handle this in a community node I created here: GitHub - Joffcom/n8n-nodes-plausible: n8n community node for Plausible