So let's say I have an endpoint (https://RANDOM_APPWRITE_ENDPOINT.appwrite.global/) and it has a basic function like this:
export default async ({ req, res, log, error }) => {
return res.json({ status: true }, 200, {
'Access-Control-Allow-Origin': 'ENTER_MY_ENDPOINT_HERE',
});
}```
I can call this function using axios and get the response "status: true" when my execute access is set to ANY
try { const response = await axios.get('https://RANDOM_APPWRITE_ENDPOINT.appwrite.global/'); console.log(response.data); } catch (error) { console.log(error); }```
How can I get the response "status: true" if my execute access is set to USERS only? I am logged in using createEmailPasswordSession
Recommended threads
- The file size is either not valid or exc...
Hello, I am receiving the following error when I am trying to deploy a function from my local. ``` > appwrite push functions --function-id xxxxxxxxx ℹ Info: Va...
- How does sending email from the Appwrite...
I noticed that the pricing page mentions “Messages – 1000 per month” for the Free plan. Is this different from sending emails? When I try to send an email usin...
- Appwrite functions dart runtime (3.7 sup...
It seems that currently Appwrite functions only support Dart runtime to 3.5, for my code I need dart 3.7. Is there any plan to support Dart3.7 runtime soon. Is ...