Skip to content

Instantly share code, notes, and snippets.

@artem-alek
Created February 14, 2017 14:14
Show Gist options
  • Save artem-alek/cbca3ed694f90edbdfd5729ec45bab1a to your computer and use it in GitHub Desktop.
Save artem-alek/cbca3ed694f90edbdfd5729ec45bab1a to your computer and use it in GitHub Desktop.
Section 1:
1. get, post, put, delete
2. not sure
3. not sure
4. 2xx = success; 3xx = redirection; 4xx = client error; 5xx = sever error
Section 2:
1. the ajax function, and data is the whole information for the GET.
2. it makes the function ajax wait to receive the information before exiting out of the function.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment