I am trying to push an image to appwrite storage bucket from vscode WebView (which under the hood uses html/css and js inside an iframe origin) but my request is getting rejected. It did be great if anyone helps us. Thanks
I found that for some reason my origin/request is blocked or rejected. Though all the key's are correct
- Have you added the platform for this implementation?
- I'm not sure, but does the endpoint need to be a
vscode-webview? As far as I know, the endpoint is supposed to be the URL of your appwrite instance.
Thanks for replying sadwan but @Meldiron as resolved my issue. It was related to cors as I have not linked my extension to apperite dashboard by giving the url.
What exactly did you do? You added a web platform? And what did you put as the hostname? The VSCode extension ID?
[SOLVED] Building VS Code Extension + Appwrite
Hey @Steven I had just added * as hostname
I tried with vs code extension id but it was not working. It was rejecting my origin
interesting...thanks for the insight!
Recommended threads
- Redirect from clicking team invite link ...
Hi all! Pretty new to app development in general so this might be something more generic than appwrite, but I've found (after reading the docs for the Teams API...
- Hosting Issues with Static IP not domain...
I have a machine with Static Public IP. I want to host Appwrite Site on it but I tried it but it doesn't allow IP addresses in Domain names. What should I do h...
- encrypt and decrypt buckets
I have a bucket where I switched from encryption to not encrypting files. I later realized that files already uploaded earlier stay encrypted. Now I have a buck...