TypeError: obj.hasOwnProperty is not a function
at Object.module.exports [as stringify] (/xxx/node_modules/restler/node_modules/qs/lib/stringify.js:49:17
Upgrading the qs library to the latest version solves this issue, as it uses Object.hasOwnProperty.call().
I was getting the following error:
Upgrading the
qs
library to the latest version solves this issue, as it usesObject.hasOwnProperty.call()
.