Skip to content

Commit ccbf344

Browse files
committed
Changed: Updated examples due to online changes
1 parent e96e41a commit ccbf344

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

WinHttp_Examples/_WinHttpSimpleFormFill_1.au3

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ $hOpen = _WinHttpOpen()
1818
; Get connection handle
1919
$hConnect = _WinHttpConnect($hOpen, "w3schools.com")
2020
; Fill form on this page
21-
$sRead = _WinHttpSimpleFormFill($hConnect, "html/html_forms.asp", "index:0", "name:firstname", "Miyake", "name:lastname", "Issey")
21+
$sRead = _WinHttpSimpleFormFill($hConnect, "html/html_forms.asp", "index:0", "name:fname", "Miyake", "name:lname", "Issey")
2222
; Close connection handle
2323
_WinHttpCloseHandle($hConnect)
2424
; Close session handle

WinHttp_Examples/_WinHttpSimpleFormFill_5.au3

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#include "WinHttp.au3"
22

33
; Example 5:
4-
; 1. Open try.coderlearner.com form-action page (http://try.coderlearner.com/html5/form/form_formaction_ex_2.html)
4+
; 1. Open paratus.hr form-action page (https://paratus.hr/software/testing/html5form/)
55
; 2. Fill form on that page with these values/conditins:
66
; - form is default one
77
; - set -User- and -Password- data to input boxes. Locate input boxes by their names -loginName- and -loginPass-
@@ -10,9 +10,9 @@
1010
; Initialize and get session handle
1111
$hOpen = _WinHttpOpen()
1212
; Get connection handle
13-
$hConnect = _WinHttpConnect($hOpen, "http://try.coderlearner.com")
13+
$hConnect = _WinHttpConnect($hOpen, "https://paratus.hr")
1414
; Fill form on this page
15-
$aRead = _WinHttpSimpleFormFill($hConnect, "html5/form/form_formaction_ex_2.html", _
15+
$aRead = _WinHttpSimpleFormFill($hConnect, "/software/testing/html5form/", _
1616
Default, _
1717
"name:loginName", "User", _
1818
"name:loginPass", "Password", _

0 commit comments

Comments
 (0)