
I am trying to send a post request to one of my functions and I always get an CORS Error `<script> const url = "https://sample.appwrite.global/"; const headers = { "Content-Type": "application/json" };
const data = { "key": "", "uid": "" };
fetch(url, { method: 'POST', headers: headers, body: JSON.stringify(data) }) .then(response => response.text()) .then(data => console.log(data)) .catch(error => console.error('Error:', error));
</script>`
This is the code on the client side š
I have attached the error screenshot as well as platform web app hostname
Any help would be much appreciated
Recommended threads
- Invalid `specification` param: Specifica...
I'm self-hosting my appwrite instance on my Macbook, and I created a Python function using the command `appwrite init functions` and it outputed the below into ...
- 401 - Project is not accessible in this ...
This is on the app write console https://screen.aryanwadhera.tech/7YTVhLTf
- functions page returns 500
I am running selfhosted appwrite version 1.6.0 and all of a sudden my functions page stopped working, returning a 500. I don't see anything in the logs that wo...
