Im trying to replicate a site post as here: https://www.usbank.com/cgi_w/cfm/personal/products_and_services/reoPropertiesReq.cfm
I just want to post any state to see the results as they will end up in an email. This is my post method and it works for login etc on other sites so I know it works
public HtmlDocument POST(string url, string postData)
{//string myParameters = "param1=value1¶m2=value2¶m3=value3";
HtmlDocument hdoc = new HtmlDocument();
wc.Headers[HttpRequestHeader.ContentType] = "application/x-www-form-urlencoded";
using (wc)
{
hdoc.LoadHtml(wc.UploadString(url, postData));
}
return hdoc;
}
I use it like:
HtmlDocument mainDoc = POST("https://www.usbank.com/cgi_w/cfm/personal/products_and_services/reoPropertiesReq.cfm",
"selState=4&StateNM=Arizona");
But this seems incorrect. Can anyone analyse this site and identify if its my code or missing data??