我正试图弄清楚如何使用表达数据的方式读取解析到请求中的其他数据,这些数据会如下所示
[headers] => Array
(
[X-Drupal-Webhooks-Event] => entity:node:update
[Content-Type] => application/json
[X-Drupal-Webhooks-Delivery] => XXXXXXXXX
)
[payload] => Array
(
[name] => entity:
[title] => john
[location] => XXXXXXXXX
)
[secret:protected] => XXXXXXXXXXXXXXX
我知道如何读取正文和标头请求,但如何读取密码和有效载荷值