Water
11-23-2014, 10:32 PM
So what I am basically trying to do is automate the post/get data types on neo. I've managed to finish the ck auth, neo login, and now up to automating requests.
I'm using this as a template guide for POST/GET
Dim HTML As String = thewrapper.Request("POST", "[Only registered and activated users can see links]" & theusername & "&password=" & thepassword, "[Only registered and activated users can see links]")
So basically it is thewrapper.Request(Method, Url, Referer)
As I moved on to automate a page on neo, i'm 100% sure this is the code that won't execute properly
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
If CheckBox30.Checked = True Then
Dim HTML As String = thewrapper.Request("POST", "[Only registered and activated users can see links]", "[Only registered and activated users can see links]")
If HTML.Contains("The plushie remains ever silent,") = True Then
ListBox1.Items.Add("Completed")
Else
ListBox1.Items.Add("Error")
End If
End If
End Sub
I've also tried re-writing the code.
Dim HTML As String = thewrapper.Request("POST", "[Only registered and activated users can see links]" & "talkto=1", "[Only registered and activated users can see links]"
It returns Error and doesn't complete the task :/
The same applies for the GET Method
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
If CheckBox30.Checked = True Then
Dim HTML As String = thewrapper.Request("GET", "[Only registered and activated users can see links] ween%2Fstrtest%2Fprocess%5Fstrtest%2Ephtml&prizeScriptURL=[Only registered and activated users can see links] halloween%2Fstrtest%2Fstrtestprize%2Ephtml&FUIComponentClass=%5Btype+Function%5D&FScrollBarClass=%5Btype+Function%5D&total=613323&loaded=613323&percent=100%25&msg=&getScript=%5Btype+Function%5D&attachHammer=%5Btype+Function%5D&moved=0&ended=0&clicked=0&speed5%5Fset=0&speed4%5Fset=0&speed3%5Fset=0&speed2%5Fset=0&speed1%5Fset=0&sent=0&feedback=&hammer%5Ftype=hammer%5Fwood%5Fmc", "[Only registered and activated users can see links]")
If HTML.Contains("View Process") = True Then
ListBox1.Items.Add("Completed")
Else
ListBox1.Items.Add("Error")
End If
End If
End Sub
I'm pretty sure the issue is related to thewrapper.Request and what I am putting inside. :/
Neither process the request, and i'm sitting here like :S
Thanks for any help! :$
I'm using this as a template guide for POST/GET
Dim HTML As String = thewrapper.Request("POST", "[Only registered and activated users can see links]" & theusername & "&password=" & thepassword, "[Only registered and activated users can see links]")
So basically it is thewrapper.Request(Method, Url, Referer)
As I moved on to automate a page on neo, i'm 100% sure this is the code that won't execute properly
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
If CheckBox30.Checked = True Then
Dim HTML As String = thewrapper.Request("POST", "[Only registered and activated users can see links]", "[Only registered and activated users can see links]")
If HTML.Contains("The plushie remains ever silent,") = True Then
ListBox1.Items.Add("Completed")
Else
ListBox1.Items.Add("Error")
End If
End If
End Sub
I've also tried re-writing the code.
Dim HTML As String = thewrapper.Request("POST", "[Only registered and activated users can see links]" & "talkto=1", "[Only registered and activated users can see links]"
It returns Error and doesn't complete the task :/
The same applies for the GET Method
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
If CheckBox30.Checked = True Then
Dim HTML As String = thewrapper.Request("GET", "[Only registered and activated users can see links] ween%2Fstrtest%2Fprocess%5Fstrtest%2Ephtml&prizeScriptURL=[Only registered and activated users can see links] halloween%2Fstrtest%2Fstrtestprize%2Ephtml&FUIComponentClass=%5Btype+Function%5D&FScrollBarClass=%5Btype+Function%5D&total=613323&loaded=613323&percent=100%25&msg=&getScript=%5Btype+Function%5D&attachHammer=%5Btype+Function%5D&moved=0&ended=0&clicked=0&speed5%5Fset=0&speed4%5Fset=0&speed3%5Fset=0&speed2%5Fset=0&speed1%5Fset=0&sent=0&feedback=&hammer%5Ftype=hammer%5Fwood%5Fmc", "[Only registered and activated users can see links]")
If HTML.Contains("View Process") = True Then
ListBox1.Items.Add("Completed")
Else
ListBox1.Items.Add("Error")
End If
End If
End Sub
I'm pretty sure the issue is related to thewrapper.Request and what I am putting inside. :/
Neither process the request, and i'm sitting here like :S
Thanks for any help! :$