Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/jsp/3.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
Symfony2.6带rest服务的空Post数据_Rest_Symfony_Post - Fatal编程技术网

Symfony2.6带rest服务的空Post数据

Symfony2.6带rest服务的空Post数据,rest,symfony,post,Rest,Symfony,Post,从post中的Poster(firefox插件)向生产服务器发送请求时,无法收集json中发送的变量,因为post是空的。我也尝试通过application/x-www-form-urlencoded发送变量,但post-to仍然为空 我使用restbundle的paramefetcher,但post是空的 我使用: 文件获取内容(“php://input"); 但是值是数组(0){} 有人能帮忙吗? 请我会让大脑爆炸不工作?谢谢,但问题不是json反序列化。问题是,我收到的帖子是空的,没有什么

从post中的Poster(firefox插件)向生产服务器发送请求时,无法收集json中发送的变量,因为post是空的。我也尝试通过application/x-www-form-urlencoded发送变量,但post-to仍然为空

我使用restbundle的paramefetcher,但post是空的

我使用:

文件获取内容(“php://input");

但是值是数组(0){}

有人能帮忙吗?
请我会让大脑爆炸

不工作?谢谢,但问题不是json反序列化。问题是,我收到的帖子是空的,没有什么可反序列化的。我已经和媒体服务器谈过了,看看是否有什么东西可能会阻止post请求,但什么都没有。