I'm creating a facebook app with a Perl backend. The problem is that since Facebook sends the request to my web app as a POST request I'm having a problem getting the GET parameters that were also part of the base URL for the application -- in effect I'm only getting the POST params from $CGI->Vars.
相关问题
- HTML form is not sending $_POST values
- $ENV{$variable} in perl
- POST Base64 encoded data in PHP
- Is it possible to pass command-line arguments to @
- PHP Empty $_POST
相关文章
- C#中 public virtual string Category { get; }这么写会报错:
- 请大神帮忙 post向https接口发送数据 部署到服务器为什么运行一会后就会报空指针
- WCF发布Windows服务 POST方式报错 GET方式没有问题 应该怎么解决?
- 用 $.ajax POST 请求数据报错
- 设备发送一个http post请求,接收不到
- Running a perl script on windows without extension
- Comparing speed of non-matching regexp
- Can NOT List directory including space using Perl
Dump CGI in favour of a better interface. Plack's
param
method returns GET and POST parameters mixed.See CGI/MIXING POST AND URL PARAMETERS.
Short version: use
$CGI->param()
for post paramenters and$CGI->url_param()
for query string parameters.