Single sign-on (sso) project, Java simulation in the form of a post, carry captcha sessionId submit form to continue to login, but test log in, log in using the postman the sessionId information written to the Cookies, can login succeeds, but will the session cookie in the information in the header, and will not be able to login successfully, for advice, how to write code in the background will be the postman will session information Cookies manifested in the form of code
CodePudding user response:
The background to intercept the breakpoint
CodePudding user response:
RestTemplate, httpclient can do this