However I can't find a way to specify different paths, please help.
Summary
The user was initially asking about including a path when calling Appwrite functions in a self-hosted environment. They mentioned trying out custom function domains but found it complicated to get the certificates working. The solution suggested was to use custom function domains.
The user later clarified that they meant in a locally hosted environment and updated the post title. Another user clarified that this issue didn't depend on self-hosted vs cloud.
To include a path when calling Appwrite functions in a local self-hosted environment, the user was instructed to use the following curl command:
```
curl -X "POST" "https://localhost/v1/functions/{function
Drake
Nov 25, 2023, 00:41
This doesn't really have anything to do with self-hosted vs cloud.
How to include path when calling Appwrite functions in local self hosted environment
Triple Gelato
Rank 2: Process
Nov 26, 2023, 01:08
Thanks for the answer. What I meant here was actually in locally hosted environment. For example in Appwrite cloud we can use https://{functionId}.appwrite.global and append path directly to it. Updated post title.
Triple Gelato
Rank 2: Process
Nov 26, 2023, 01:08
[Solved] How to include path when calling Appwrite functions in local self hosted environment
Drake
Nov 26, 2023, 01:23
Technically, you can set up this auto generated function domain in your self hosted environment too but its a bit convoluted to get the certificates working.
An easy alternative is to use custom function domains.
Triple Gelato
Rank 2: Process
Nov 27, 2023, 00:37
Tried out custom function domains and they are great, thanks for the help