1. login (remember me)

curl -i -X POST -d id=id -d password-1234 -c cookies.txt http://localhost:8080/login/loginProcessing

 

curl -i -X POST -d id="아이디" -d password-비번 -c cookies.txt http://localhost:8080/"스프링시큐리티 로그인처리 설정한 url 입력"

 

2. curl -i -X GET -b cookes.txt localhost:8080/file/1

 

Posted by 건강코더 트랙백 0 : 댓글 0

댓글을 달아 주세요