1

我正在尝试通过 cURL 执行按钮单击,我遇到的问题可能是由于单击时的 java 脚本。HTML 源代码为:

<input id="ctl00_SPWebPartManager1_g_1bb6dc86_55ab_4ea9_a4db_4747922a8202_ctl00_RequestOption_0" class="radio" type="radio" checked="checked" value="1" name="ctl00$SPWebPartManager1$g_1bb6dc86_55ab_4ea9_a4db_4747922a8202$ctl00$RequestOption">
<label for="ctl00_SPWebPartManager1_g_1bb6dc86_55ab_4ea9_a4db_4747922a8202_ctl00_RequestOption_0">    View Summary Data Online</label>

我以这种方式发送命令,但它仍然不执行该单击事件:

curl -d "RequestOption_0=1" https://xxx.xxxxx.com/customer-service/rates-pricing/customer-choice/Pages/usage-data.aspx > test20121812.txt

POST应该是怎样的?请注意,我在 Windows 上使用 cURL。谢谢!

4

0 回答 0