HTTP - URL구조

less than 1 minute read

URL(Uniform Resource Locator)은 웹 서버가 리소스를 고유하게 식별할 수 있도록 하는 것. 일반적으로 다음과 같은 구조이다.
http://www.google.com/search?q=puppies#p2

  • scheme: http, https, ssh, git
  • host: google.com, localhost, 192.168.1.1
  • subdomain: www, mail, blog
  • path: search, about.html, blog/entries/2/big-day
  • query string: q=puppies&ref=mobile&page=4
  • hash fragment: p2, FAQ, /profile/edit

Rest, HTTP Verbs

Categories:

Updated:

Leave a comment