7.CLI 환경 테스트
CLI 환경에서는 다음과 같은 방법을 통해 인증 처리 동작을 테스트할 수 있음
terminal
curl http://localhost:8080/hello→ 별도의 응답 없음
자격 증명을 추가하여 인증 요청 전송
terminal
curl -u user:83a0af90-c3b5-49dc-abaf-6ac4ac879a1b http://localhost:8080/hello→ Hello!
Last updated on
CLI 환경에서는 다음과 같은 방법을 통해 인증 처리 동작을 테스트할 수 있음
curl http://localhost:8080/hello→ 별도의 응답 없음
자격 증명을 추가하여 인증 요청 전송
curl -u user:83a0af90-c3b5-49dc-abaf-6ac4ac879a1b http://localhost:8080/hello→ Hello!