my api url:
{{url}}/api/v1/users/updateHome?access_token={{access_token}}
I am trying to access the property access_token
. I have tried the following ways to access it but it returns error:
req.params('access_token'); //returns req.params is not a function
req.params.access_token; //returns undefined
Since req.param('access_token')
which works but now deprecated, how can I access the property access_token
?