I'm working on an ASP.net Web Forms application.
My application sends a POST
request to an external domain with search criteria from the user (imitating submitting search terms in a search form), and then runs a regular expression on the response HTML to find and extract the number of results. I've done some research into better alternatives, but since there's no API and no way to do this with GET from the client, server-side requests seems like my only option.
The problem is because the response contains the entire web page, it's bandwidth intensive, and for many searches this adds up very quickly.
Given that I'm only looking for a small sliver of data and basically everything else is garbage, are there any ways to reduce the amount of information received in a web response?