Skip to the content.

Express

1. What’s the difference between PUT and PATCH?

1. WireMock

2. Postman Mock Server

3. Stoplight

3. Compare and contrast Swagger and APIDoc.js 1 Which HTTP status codes should be sent with each type of (un)successful API call?

responses: ‘200’: description: OK

    '400':
      description: Bad request. User ID must be an integer and larger than 0.

    '401':
      description: Authorization information is missing or invalid.

    '404':
      description: A user with the specified ID was not found.

    '5XX':
      description: Unexpected error.

4. Compare and contrast SOAP and ReST

The difference is:

  1. SOAP is a XML-based message protocol, while REST is an architectural style

  2. SOAP uses WSDL for communication between consumer and provider, whereas REST just uses XML or JSON to send and receive data

  3. SOAP invokes services by calling RPC method, REST just simply calls services via URL path

  4. SOAP doesn’t return human readable result, whilst REST result is readable with is just plain XML or JSON

  5. SOAP is not just over HTTP, it also uses other protocols such as SMTP, FTP, etc, REST is over only HTTP

Document the following Vocabulary Terms

  1. Web Server
    • A web server is the technology that serves up a website to users when they visit a URL. On the technical side of things, what that means is that it handles the hypertext transfer protocol (HTTP)
  2. Express