HTTP / IP / API's Flashcards
What does TCP stand for?
Transmission Control Protocol
What does TCP do?
Manage the channels between the browser and server
What does HTTP stands for?
Hypertext Transfer Protocol
What is HTTP?
HTTP is the command language that the devices on both sides of the connection must follow in order to communicate.
What does IP stand for?
Internet Primer
What is an IP Adress?
An address that uniquely identifies a machine on the internet.
What is the difference between IPv4 and IPv6?
IPv4 created a 32 bit IP address (resulting in ~7 billion unique IP’s)
IPv6 creates a 128 bit IP Address
How does each machine get’s a unique IP Address?
via DHCP (Dynamic Host Configuration Protocol)
What is DNS?
DNS stands for Domain Name System. Each server that host a website has an unique IP. But this is hard to remind for humans. DNS translates redirects us from www.google.com to the right IP.
What is the HTTP code if a valid request is made?
200 - success
What does HTTP error 404 mean?
not found - Server cannot find what u asked for
What is the error code for a server error?
500 - internal server error
What does HTTP error code 301 mean?
Moved permanently - Page is at a new location (most browsers will redirect you automatically)
What is REST?
Rest stands for REpresentational State Transfer.
It’s an architectural style for providing standards between computer systems on the web, making it easier for systems to communicate with each other. REST-compliant systems, often called RESTful systems, are characterized by how they are stateless and separate the concerns of client and server.
What a 4 basic HTTP verbs used to interact with REST?
- GET = retrieve specific information
- POST = create a new resource
- PUT = Updated a specific resource
- DELETE = remove a specific resource