I am building an API in ruby on rails. The API has a authentification system created with Devise. I wanted to test my API methods using postman with http request but everytime I try I get the following response :
{
"error": "You need to sign in or sign up before continuing."
}
How can I simulate a logged in user in my postman request to make my request work ? Or is there a better way to test my API ?