Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/71.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html 如何使用cURL将表单发布到purewhois.com_Html_Forms_Post_Curl - Fatal编程技术网

Html 如何使用cURL将表单发布到purewhois.com

Html 如何使用cURL将表单发布到purewhois.com,html,forms,post,curl,Html,Forms,Post,Curl,我正在尝试提交以下表格: 使用以下命令: curl --data "queryInput=microsoft.com@hidden=default&submit=search" \ http://www.purewhois.com/index.php 它似乎工作不正常。我甚至试过-F开关。有人能提出一个解决办法吗?这个办法行得通吗 curl--data“queryInput=microsoft.com&output=default&submit=search” 我想我看到我的打字错误

我正在尝试提交以下表格:

使用以下命令:

curl --data "queryInput=microsoft.com@hidden=default&submit=search" \
http://www.purewhois.com/index.php
它似乎工作不正常。我甚至试过
-F
开关。有人能提出一个解决办法吗?

这个办法行得通吗

curl--data“queryInput=microsoft.com&output=default&submit=search”


我想我看到我的打字错误了。我无意中使用了@而不是&并且在查询中使用了术语“hidden”而不是表单字段的名称“output”。谢谢