Flashcards
web quiz
Cards in this deck (17)
- 1login sessionbruh
- 2recieve post from /loginmeme
- 3start session if credidentials are okmeme man sam
- 4setup function to make an ajax requestbruh momentum
- 5URIidentifies a resource
- 6new request contains location and optionslocation is url
options are method, body, headers - 72 headers to add'Content-Type'
'application/json' - 8compressed version of new request just uses fetchok
- 9converyting from json to objparse
- 10convering from obj to jsonstringify
- 11responding w jsonres.json(message)
- 12rest api standard message formatrepresentational state transfer
json, xml - 13stateusers and logins on a website
- 14state 3 core piecescookies, sessions, encryption
- 15cookieshold state info
- 16authentication vs authorizationwho are you
vs
what you have access to - 17status codes401 -> unauthorized
403 ->forbidden
404 ->not found
Information
- Description
- Flashcards on web quiz, created by hasdfhfsd gsdhhgsdh on 19/11/2019.
- Created by
- hasdfhfsd gsdhhgsdh
- Views
- 0
- Rating