0 evaluări0% au considerat acest document util (0 voturi)
6 vizualizări1 pagină
The document outlines the login process for accessing a protected resource. A GET request is made to /login with a query parameter specifying the desired resource. A login form is returned. Upon submitting credentials via a POST to /login, an auth cookie is set and the user is redirected back to the original requested resource. Subsequent requests to the resource made with the auth cookie will receive a 200 response allowing access.
The document outlines the login process for accessing a protected resource. A GET request is made to /login with a query parameter specifying the desired resource. A login form is returned. Upon submitting credentials via a POST to /login, an auth cookie is set and the user is redirected back to the original requested resource. Subsequent requests to the resource made with the auth cookie will receive a 200 response allowing access.
The document outlines the login process for accessing a protected resource. A GET request is made to /login with a query parameter specifying the desired resource. A login form is returned. Upon submitting credentials via a POST to /login, an auth cookie is set and the user is redirected back to the original requested resource. Subsequent requests to the resource made with the auth cookie will receive a 200 response allowing access.