reading-notes


Project maintained by Razan-am Hosted on GitHub Pages — Theme by mattgraham

Express

What’s the difference between PUT and PATCH?

  1. Nock:is an HTTPS library designed to replicate and mock servers and expectations in Node.js.

    Link:

    • https://github.com/nock/nock
  2. Beeceptor:is a free online tool for mocking a REST API interaction using any HTTP request.

    Link:

    • https://beeceptor.com/
  3. Stoplight: is all about the quick creation of mock servers and visualization of the APIs that interact with them.

    Link:

    • https://stoplight.io/mocking/

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

Compare and contrast SOAP and ReST

  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

References:

@By RapidAPI Staff/What’s the Difference between PUT vs PATCH?

@By Kristopher Sandoval/Tools To Mock HTTP Requests

@By APIDOC/APIDOC

@By SWAGGER/Describing Responses