Networking essentialsLesson 5 of 8
Forms, logins and cookies
Read an HTML form, send it with curl, and use the session cookie a login gives you.
0 of 6 tasks · about 14 min
Step 1
Read the form
A login page is an HTML form. Fetch it:
curl http://shop.seaside.example/loginThree things in the
<form>matter:action: the path the form is sent tomethod: how it is sent,getorpost- each
<input name="...">: the name each typed value is sent under
Which method does the login form use?
5 more steps after this one
Practice lab for "Forms, logins and cookies". Type commands here and press Enter. Run help to list them.