ngx.req.get_body_data总是返回nil

30 views
Skip to first unread message

Shang Yu

unread,
Feb 25, 2024, 11:25:35 AMFeb 25
to openresty
各位大佬,
请看一下这段脚本

ngx.req.read_body()
ngx.say(ngx.req.get_body_data())

get_body_data总是返回nil,为什么?

Frank

unread,
Feb 26, 2024, 2:24:59 AMFeb 26
to open...@googlegroups.com

Shang Yu <yus...@gmail.com> 于2024年2月26日周一 00:25写道:
--
--
邮件来自列表“openresty”,专用于技术讨论!
订阅: 请发空白邮件到 openresty...@googlegroups.com
发言: 请发邮件到 open...@googlegroups.com
退订: 请发邮件至 openresty+...@googlegroups.com
归档: http://groups.google.com/group/openresty
官网: http://openresty.org/
仓库: https://github.com/agentzh/ngx_openresty
教程: http://openresty.org/download/agentzh-nginx-tutorials-zhcn.html
---
您收到此邮件是因为您订阅了Google网上论坛上的“openresty”群组。
要退订此群组并停止接收此群组的电子邮件,请发送电子邮件到openresty+...@googlegroups.com
要在网络上查看此讨论,请访问https://groups.google.com/d/msgid/openresty/a6d9bcac-0722-4774-8f5b-765e82e75c91n%40googlegroups.com

Frank

unread,
Feb 26, 2024, 2:25:27 AMFeb 26
to open...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages