You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
브라우저에서는 웹 요청을 서버로 보내고, 서버는 해당 요청에 따른 처리 결과를 응답으로 보냅니다.
이때 브라우저에서는 "request header"와 "request body (optional)" 을 보내는데 해당 헤더의 핵심 내용은 아래와 같습니다.
GET /data.zip HTTP/1.1 --> 어떤 method로 어떤 리소스를 요청할지
Host: www.server.com --> 대상 서버 주소
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) --> 브라우저 정보
Referer: https://www.google.co.kr/ --> 방금전에 있던 페이지 주소
Cookie: ssab=; webid=696fe0a0596811e790e4000af759d210; --> 접속자 쿠키 정보
위 요청을 받으면 서버에서는 해당 요청을 처리해서 data.zip 파일을 보내주게 됩니다.
(물론 권한이 없다거나, 서버 측의 정책에 따라 거부하거나 인증 페이지로 리다이렉트 하는 등의 행위가 가능합니다)
제가 특정 사이트를 크롤링 하고 싶습니다.
그런데 cros 문제가 있더라구요.. 그래서 검색을 많이해보고 이해하려고 노력했지만
이해가 잘 안되서요.
The text was updated successfully, but these errors were encountered: