在使用REST API后,我得到了如下所示的响应:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title></title>
</head>
<body>
<form method="post" action="spr.aspx" id="form1">
<div class="aspNetHidden"> <input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="" /> </div>
<div class="aspNetHidden"> <input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value=" /wEdAAKvVXD1oYELeveMr0vHCmYPexh68czOUCZr7Ag7DJmz7Z+a1vpqAoNCsL3bMp63kqR0V0mUiq3TIIVw+e5c39X2" /> </div>
<div></div>
<input name="ResponseCipher" type="hidden" id="ResponseCipher" value="irvN4mdV6jA0wmsSVq8yHv3F+2frLchvQpTuJj1r8lBMmYhP8ZJ5TmVGbdm1vPm91UEW3m89IgfgM5R+HjF8jwzskTX4sRExSbDv3szDdwRyUnAT9neieDJDXzd CmG6/+FhxIN/Lai0Dg5s7lWfGsl+xNmsTr/4yQ//btMl1u6AM+Jyi2+tBwGPgjMgrG5hjnqpbKwsd5k7yELDdCQHLzkjFagKjYMyfXgaRlHX7rNBpiQSKqmhESZm/Xrkty SfOrf80jFQtUZq0iSHxVr83W55/QGhH0TFs+avcP4yVJPuwCju2bH0Kkd6m3QtclygPM29mc2xIyIxl/8SB3bgJ8ESwWJCImIvqXJa1rcSO8y5UYkn+QL5cI9iuAaEhGjl woC3q/q6F9kQrSlnV4ExymTio0VLFUSN4Sx6GjV5E2ITT25ypspkp05FvQPZnp+8S" />
</form>
</body>
</html>
<script type="text/javascript"> document.forms[0].action='https://il01addproc.propay.com/Return.aspx'; document.forms[0].submit(); </script>
此页面是动态生成的。我浏览了jsoup
的教程。这里,它是动态生成的,此页面作为响应给出。那么有没有办法处理这个动态页面?