I've implemented a Spring RESTful web service. Using Jackson JSON for Object Mapping. I have a method that accepts two parameters.
public Person createPerson(
@RequestBody UserContext userContext,
@RequestBody Person person)
How would the client construct a request where in multiple JSON objects are to be passed in the body?
Is this possible?
-- Sri
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…