Closed 10xSebastian closed 4 years ago
LHC.post('http://local.ch', auth: { body: { userToken: 'dheur5hrk3' } })
Adds the following to body of all requests:
{ "userToken": "dheur5hrk3" }
It's not fixed to "userToken". Anything you pass to body: will be merged with the body.
body:
Body Authentication
Adds the following to body of all requests: