Integrations tests without cookies

Hi

I wonder how to have integration tests that do not use client cookies?

My problem is that when I test my Rails served API using curl, when I do
not
pass credentials in headers my request is not accepted.
But when an iPhone is used as a client, or Rails integrations tests,
credentials seem to be saved between requests, which is something I do
not
want (I cannot deactivate storing sessions for the whole app because I
have
multiple route namespaces, but maybe it’s possible for a controller
only?).

Thanks.

Nobody here is working on an API and is concerned by this matter?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs