#[SOLVED] xxxx.github.io flutter web request appwrite CROS
1 messages · Page 1 of 1 (latest)
Can you explain your problem? Maybe show the error you are facing?
Would you please check the request headers to confirm the project is correct?
I am currently using the Dart_Appwrite SDK. This is not my custom request, but the encapsulation method.
Uhh you shouldn't be using that package in a flutter app 👀 that SDK is for server side code.
This looks like a browser dev tool. You should be able to inspect the request headers via the browser dev tool
Sorry I made a mistake, I'm using the Flutter version of Appwrite.
appwrite: ^11.0.0
The header message I see using the power builder in Google Chrome is as follows
Content-Type:
application/json
Referer:
https://winnerapp.github.io/
User-Agent:
Mozilla/5.0 (iPad; CPU OS 16_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.6 Mobile/15E148 Safari/604.1
X-Appwrite-Project:
winner-app
X-Appwrite-Response-Format:
1.4.0
X-Sdk-Language:
flutter
X-Sdk-Name:
Flutter
X-Sdk-Platform:
client
X-Sdk-Version:
11.0.0
A new Flutter project.
What exactly did you configure for the platform? Can you share a screenshot?
You shouldn't be calling set self signed because cloud has a valid certificate
Anyways, I was asking about the web platform you added in the Appwrite console
The web platform has been added, but I reset all settings of Google Chrome and it's ok.
So everything is working now and this can be marked as solved?
So far, it can be closed.