[RESOLVED] Simple HTML code scraping
So I have my webpage with a php server. It generates a response based on the username of the viewer. The username can be sent as both GET and POST data.
What I want is to send the username from a VB app and getting the response. There are two points where I don't know how to do what I need:
1- How to send username using POST. GET is simple enough, obviously.
2- How to send the request and obtain a response asynchronously (as in, when the data arrives, some sort of event is triggered and I can check the data under that event) without having to resort to 3rd party dependencies such as HTML Agility Pack which would need to pack additional dll files etc with the finished project.
Please note that I only need to read the code/HTML of the generated response. I do not need to pick up specific object data from the webpage.
Many thanks.
Re: Simple HTML code scraping
A couple years ago I made a scaper that scraped this site to collect some stats. Perhaps the code I used there might be able to guide you. Here is the thread in question:-
https://www.vbforums.com/showthread....ats&highlight=
Here is a link to the fiddle(Update 3 in the OP of the thread):-
https://dotnetfiddle.net/72DCl9