Integrations tests without cookies


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
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
want (I cannot deactivate storing sessions for the whole app because I
multiple route namespaces, but maybe it’s possible for a controller


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