HTTPS/Authenticated: Difference between revisions

m
→‎{{header|Sidef}}: changed the keyword "require" to function call
m (→‎{{header|Sidef}}: changed the keyword "require" to function call)
Line 343:
 
=={{header|Sidef}}==
<lang ruby>require ('WWW::Mechanize')
 
var mech = %s'WWW::Mechanize'.new(
cookie_jar => Hash.new,
agent => 'Mozilla/5.0',
);
 
mech.get('https://login.yahoo.com/');
mech.submit_form(
form_id => 'mbr-login-form', # form id
Line 356:
'login' => 'XXXXXX',
'passwd' => 'YYYYYY',
));</lang>
 
=={{header|Tcl}}==
2,747

edits