解决nginx的FastCGI sent in stderr: "Primary script unknown"
使用postman进行测试
nginx
使用file_get_contents(“php://input”)
使用postman传输json数据向云服务器时,返回空字符串,我将接收的变量进行打印,postman的response界面会显示
我排除了php.ini配置和服务器权限问题,最终在postman的url前面写https,防止服务器301重定向对数据的影响,强制使用https。。。
具体不是...
原创
2019-05-24 07:42:49 ·
3991 阅读 ·
0 评论