I am trying to determine the circumstances under which I cannot send and receive cookies from a REST service under Appery.
My current understanding is:
Cookies will not survive going through the REST proxy in either direction (or maybe you can send them but not read them?) So if you are letting someone preview your app with the builder test option, they will not be able to use any functionality that relies on cookies if the proxy is in use.
If you are using CORS, you should be able to use cookies with a REST service, even in the builder preview.
In a compiled mobile application with domain whitelisting, cookies are fully supported.
So if I need to use cookies with a REST service, and I want people to be able to preview my app while it is in development, my options seem to be:
Use CORS instead of the proxy (requires a CORS-friendly service).
Build and distribute a real Beta app.
Any other ideas? Setting up CORS isn't always possible since I can't always control the server. Building and distributing an app doesn't allow for instant feedback on new design ideas unless they are non-working mockups.