the difference between PUT and PATCH
- The main difference between the
PUT
andPATCH
method is that thePUT
method uses the request URI to supply a modified version of the requested resource which replaces the original version of the resource, whereas thePATCH
method supplies a set of instructions to modify the resource. PATCH
applies a partial update to the resource.
Services that allow you to “mock” an API for development
Compare Swagger and APIDoc.js
- Swagger
- 200(ok)
- 400(Bad Request)
- 401(Authorization information is invalid)
- 404(Not found)
- APIDoc
- 200(ok)
- 400(Bad Request)
- 401(4Not Authenticated)
- 404(Not found)
- 4xx (errors)
Compare and contrast SOAP and ReST
-
SOAP is a standardized protocol that sends messages using other protocols such as HTTP .
-
As opposed to SOAP, REST is not a protocol but an architectural style. The REST architecture lays down a set of guidelines you need to follow if you want to provide a RESTful web service.
- As SOAP is an official protocol, it comes with strict rules and advanced security features such as built-in ACID compliance and authorization.
Web Server :
- A web server is computer software and underlying hardware that accepts requests via HTTP, the network protocol created to distribute web pages.
Express :
- Express is a minimal and flexible Node.js web application framework that provides a robust set of features for web and mobile applications.
Routing :
- Routing refers to how an application’s endpoints (URIs) respond to client requests
WRRC :
- A simple diagram of the request/response cycle. The web is a cycle of requests and responses that flow between clients and servers.