Answer the question
In order to leave comments, you need to log in
How to pass body to servlet response and get it in another service?
My filter sends a cross-request to validate a token to another service. There, in the response, I need to put a new token in the header (this is understandable). But how to nest also, for example, set of roles, string id, etc.? Parameters are not an option, of course. You need a body. But how to put all this, and how to pull it out in the filter and deliver this data to the receiver-service controller itself?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question