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
- User ID case sensitivity
I see that through REST (and SDK as well), getting a user is not case sensitive. And even though documentation does not clearly state that it is, the wording "V...
- Any way to temporarily bypass the email ...
Hey guys, any way to bypass the email verification to use the accounts again? i need to recover some projects that due to recent changes have been stopped, and ...
- How to use Sites on selfhosted appwrite
whenever I try to create a site even with template it says 404 nginx error