php - 使用 POST 对 PHP 的邮递员请求
问题描述
这是我的代码:
<?php
if(isset($_POST["test"]))
echo $_POST["test"];
if(isset($_GET["test"]))
echo $_GET["test"];
?>
我的问题是:为什么 POST 请求不起作用?
我在正文和标题中尝试了不同的参数,但没有任何效果。
解决方案
推荐阅读
- c++ - 设置停靠和选项卡式 CDockablePane 的框架颜色
- javascript - Django/CKEditor/Javascript 问题,包括 textarea 中的文本
- ruby-on-rails - 如何在 Elasticsearch 中编写“或”查询?
- .net-core - Csvhelper 版本 27.*.*.* 不支持用于类映射的 ConvertUsing?GetField 也不起作用
- azure - 实时指标 Application Insights - 是否可以使用多个应用程序日志
- c++ - 如何以编程方式连接/断开 Windows 10 VPN 连接?
- fetch - 如何在 401 上重试在 Aurelia 中获取?
- python - 使用中间层的输出进行新的训练(“模型”对象没有属性“形状”)
- javascript - XML 解析错误:使用数据表和文本文件中的数据格式不正确
- java - 从外部对话框更新 rowExpansion Primefaces 内的行子数据表而不关闭它