Skip to content

Instantly share code, notes, and snippets.

@vigzmv
Created January 16, 2019 16:33
Show Gist options
  • Save vigzmv/3523e3a74d8ca15b86e4cfeab6a06cde to your computer and use it in GitHub Desktop.
Save vigzmv/3523e3a74d8ca15b86e4cfeab6a06cde to your computer and use it in GitHub Desktop.
URLs 1min crash course

Take example, this is a complete URL: https://novelship.co/filter?brands=36&page=1&tags=fw18,sup

Everything before the ? is the PATH. Paths refer a PAGE or RESOURCE, Page like filter page. Resource can be users, brands Everything after the ? is the QUERY. Query is used to send some extra info to that PAGE or RESOURCE.

We use these queries to do the filtering, like brand=36 filters the brand Each filter is separated by a &

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment