The question may seem weird, but let me show what I mean:
Here, you post your credentials as the body of a post request, and then the response will somehow set a cook