I found this, saying I should send authentication message: https://discord.com/channels/564160730845151244/1079531935279353911/1079559668772376619
You're correct Here some detailed JS example https://github.com/appwrite/sdk-for-web/blob/master/src/client.ts#L273-L279
But From what I've seen it should also work with headers and cookies
I cant seem to get cookies from the request, it goes trough and I can read the payload but nothing is returned for βSet-Cookieβ
Yea, i get 0 headers
I am using a /v1/account/sessions/email
Maybe you're getting the fallback one?
nothing in headers, i get 0 headers returned
How've you made the request? When running it in software like Postman are you getting anything back?
I didnt try postman,let me give it a shot
in postman I do get cookies
And how are you making the request to /v1/account/sessions/email in your code?
This is arduino? Are you using this library? https://github.com/arduino-libraries/ArduinoHttpClient
yes, I am using the native HTTPClient library for esp32
thats not the library i am using
let me try that library and see of anything changes
I think you need to call the collectHeaders functions before running POST
https://github.com/espressif/arduino-esp32/blob/master/libraries/HTTPClient/src/HTTPClient.cpp#L1069
And get the header using the header function
https://github.com/espressif/arduino-esp32/blob/master/libraries/HTTPClient/src/HTTPClient.cpp#L1091
WOOOOOOOOOOOOOOOO
I got the cookies!
had to do what you said
<a:agooglethumbsup:635256484682530825>
I finally did it!! I now have a good authenticated connection, I cant thank you enough for the help!! Thank you!! π
[SOLVED] Realtime raw api
I'll close this now..
Recommended threads
- Realtime: Listener not triggered on upda...
I self host appwrite 1.8.1. The genereal functionallity works fine. But my realtime subscription isn't updating. I see "Received heartbeat response from realtim...
- Realtime for files() works almost well, ...
I have been trying to make use of realtime, today (14.03.26) I have pulled all the latest versions of docker images, and sdk available. Whats working: - Conn...
- π Realtime Flutter SDK Crash β Realtime...
**Summary** When using Appwrite Cloud with the Flutter SDK (latest appwrite release: 21.4.0), Realtime crashes with: ```Unhandled async error: type '_Map<String...