Posts

Showing posts from January, 2024

REST API

Image
REST API is an architectural style for an application program interface (API) that uses HTTP requests to access and use data. A request is sent from client to server in the form of a web URL as HTTP GET or POST or PUT or DELETE request. GET: The HTTP GET method is used to read (or retrieve) a representation of a resource. Example GET: Request for all Students. HTTP GET:/api/students POST: The POST verb is most often utilized to create new resources. Example POST: Request for Posting/Creating/Inserting Data HTTP POST:/api/students {“name”:”Aditya”} PUT: It is used for updating the capabilities. However, PUT can also be used to create a resource in the case where the resource ID is chosen by the client instead of by the server. PATCH: It is used to modify capabilities. The PATCH request only needs to contain the changes to the resource, not the complete resource. Example PUT or PATCH: Request for Updating Data at id=1 HTTP PUT or PATCH:/api/students/1 {“name”:”Rahul”}

Onion

Image
29 February 2020, and i'm starting blog on Onion Theory of Network Security. In this theory we will discuss about secure LAN network attack network tap and information gathering next generation internet protocol. All network LAB will based on CCNAS and CCNPS. Information Security Internal Network Security Physical Security Access Security at last i want to say that.., study about network securing   but not study about network destroying. Regards

IPv4 IPv6 Address Type

Image
Let begging about deference between IPv6 and IPv4. 1: Length IPv4: 32 Bit IPv6: 128 Bit 2: Number of header fields IPv4: 12 fields IPv6: 8 fields 3: Checksum IPv4: Has checksum fields IPv6: Does not have checksum fields 4: Examples IPv4: 1.1.1.1 150.50.0.1 192.168.10.1 224.0.0.5 127.0.0.1 IPv6: ::1 2001:0db8:0000:0000:0000:ff00:0042:7879 fec0:0:0:ffff::2 fe80::89b4:75f6:816:55ac 2001:4860:4860::8888 5: Type of Addresses IPv4: Unicast, broadcast, and multicast. IPv6: Unicast, multicast, and anycast. 6:Number of classes IPv4: IPv4 offers five different classes of IP Address. Class A to E. IPv6: IPv6 allows storing an unlimited number of IP Address. 7: VLSM support IPv4: IPv4 support VLSM (variable length subnet mask). IPv6: IPv6 does not offer support for VLSM. 8: Network Configuration IPv4: Networks need to be configured either manually or with DHCP. IPv4 had several overlays to handle Internet growth, which require more maintenance efforts. IPv6: IPv6 support autoconfigur