skonves / express-http-context

Get and set request-scoped context anywhere
MIT License
299 stars 26 forks source link

context doesn't work when called through microservices #14

Closed rishavchhajer closed 6 years ago

rishavchhajer commented 6 years ago

suppose i have 2 micro-service , service a and service b when i call some api of service b through service a , httpContext.get('key') returns undefined I have same implementation of express-http-context in both the service a and b

P.S when i am calling individual api through postman , context works wonderfully.

please help

anubhav756 commented 6 years ago

See https://www.npmjs.com/package/express-http-context#troubleshooting

rishavchhajer commented 6 years ago

@anubhav756 thanks.