The site is the UPS site...the tracking page...so you can view full source
there. I'm just trying to automate where I insert a tracking # and agree to
the terms. Here is a very brief snippet of the form (although there are
other forms in the full source).
When I do the POST using my httpwebrequest object, all is fine, but I just
get the same page back...no errors or anything. I'm posting to the same url
as the "action" tag below. Thanks.
<html xmlns="
http://www.w3.org/1999/xhtml">
<head><title></title></head>
<body>
....
<form name="trkinput" action="
http://wwwapps.ups.com/WebTracking/track"
METHOD="POST">
<input type="hidden" name="loc" value="en_US" />
<input type="hidden" name="HTMLVersion" value="5.0" />
<input type="hidden" name="saveNumbers" value="null" />
<p></p>
<textarea rows="5" cols="40" name="trackNums" class="modTxtAreaTrack">
</textarea>
<p></p>
<input name="AgreeToTermsAndConditions" type="checkbox" value="yes" />
By selecting this box and the Track button, I agree to the
<a href="javascript:helpModLvl('/WebTracking/terms?loc=en_US')">
Terms and Conditions
<img alt="" src="/img/1.gif" align="bottom" border="0" height="7"
width="3"><img alt="" src="/img/icn_popup_blue.gif" align="bottom"
border="0" height="9" width="9" /></a>.
<p></p>
<input name="track" type="image" onclick="return
wrapperCheckTerms(trkinput);"
src="/img/en/btn_track_a_v2.gif" WIDTH="56" HEIGHT="18" alt="Track" />
</form>
</body>
</html>