我以前能够在Firebase CLI中附加POST请求的正文,但是文档中没有任何关于如何再次执行此操作的示例。
例:
我尝试:
myFunction.post({body: {...}})
但是收到以下错误:
TypeError [ERR_INVALID_ARG_TYPE]: The first argument must be one of type string or Buffer. Received type object
我想访问通过req.body
传递的数据。有任何想法吗?