IP address:
IP address is a unique number assigned to a device when it connects to a network. It acts like an identity so that devices can find and communicate with each other.
IPv4:
IPv4 (Internet Protocol version 4) is the most widely used system for identifying devices on a network. It uses a 32-bit number.
Example: 192.168.1.1. Every IP has two parts: the Network part and the Host part.
Subnet:
A subnet is a part of a larger network. Instead of treating one big network as a single group, it is split into smaller parts so it becomes easier to control.
HTTP methods used in API
GET is used to fetch data.
POST is used to create new data.
PUT is used to update/replace the entire resource.
PATCH is used to partially update the data.
DELETE is used to delete the data.
Why HTTPS over HTTP?
In HTTP, the data is sent in plain text, so intermediaries (like ISPs) can read your data.
In HTTPS, the data is encrypted using TLS/SSL, making it secure and unreadable to others.
Top comments (0)