Login API (HTTP request method problem)

I have an n8n workflow that uses the /api/login/ endpoint.
It worked perfectly before, but starting about 6-8 hours ago, I’m encountering an error that the server doesn’t return “set-cookie” and gives the message “Invalid method. Use POST. You used GET”, even though I’m using the POST method correctly.
Hope use can look at this matter @samuelclay

Update: I changed to https instead of http and it worked.

1 Like

Yep you got it. I just launched a change to redirect all http requests to https. But that means it turned a POST to http to a GET to https.