Request object template
req: {
method: 'POST/GET',
url: {
pathname: '/api/some/path',
query: {
}
},
body: {
name:
//userID: ' ',
},
params: {
},
headers: {
authentication: 'Basic <encodedStr>',
authorization: 'Bearer <tokenStr>'
},
user : {
_id: ' '
},
file: {
filename: '349hp8h3hp24q3hgp4343', //hashed
path: ' ',
originalname: ' '
}
}