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
- Custom emails
What happen if I use a third party email provider to customize my emails and my plan run out of emails/month? Appwrite emails are used as fallback sending emai...
- Realtime with multiple connections
I need the Realtime on multiple Collections for diffrent applicational logic. So my question is: Is there a way to have only 1 Websocket connection or do I need...
- Can't login or deploy functions in Appwr...
Hello, since i updatet to the appwrite cli 6.1.0 i can't login or deploy functions with the cli. When i call the command: "appwrite get account --verbose" i ge...