my api url:
{{url}}/api/v1/users/updateHome?access_token={{access_token}}
我正在尝试访问该属性access_token
。我尝试了以下方法来访问它,但它返回错误:
req.params('access_token'); //returns req.params is not a function
req.params.access_token; //returns undefined
由于req.param('access_token')
有效但现已弃用,如何访问该属性access_token
?