php - 无法使用 curl post 更新表单
问题描述
我正在尝试使用脚本与网站进行交互,但是每当我发送 curl 发布请求时,都没有返回任何内容。
curl -X POST --proxy 1.1.1.1:9443 \
-H "Content-Type: application/x-www-form-urlencoded" -d d="google.com" -d n="8.8.8.8" \
-d q="A" http://http://www.kloth.net/services/dig.php
解决方案
推荐阅读
- css - 如何在多个字符串上使用 CSS 应用类型编写器动画
- java - 设置列表首选项后,为什么我的应用程序不会更改为暗模式 (Android Q)?
- python - 如何按字典值搜索带有嵌套字典的列表,返回带有字典元素的列表索引
- java - 如何从 Intstream 创建 ArrayList
- javascript - Switch 语句不执行相应的块
- android - FirebaseAuth 监听器没有被调用
- python - Pygame Collidepoint 函数未按预期工作
- java - Kakfa consumer.poll 不返回 2.4.0 的记录
- c++ - 我希望两个循环并行运行
- javascript - 当用户关闭移动浏览器窗口时如何采取行动?