View on GitHub

reading-notes

Learning Notes Repo for Code Fellows

Express

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

    PUT is a method that allows the client sends data and updates the entire resource.

    PATCH is a method that allows the client to update partial data without modifying the entire data

  2. Provide links to 3 services or tools that allow you to “mock” an API for development like json-server

    1. https://www.postman.com/
    2. https://stoplight.io/
    3. https://designer.mocky.io/
  3. Compare and contrast Swagger and APIDoc.js Which HTTP status codes should be sent with each type of (un)successful API call?

    • 200s: success
    • 400 Bad Request: a generic unsuccessful request
    • 401 Unauthorized: the client is not authenticated
    • 403 Forbidden: don’t have the permission
    • 405 Method not allowed
    • 500 Internal server error
    • 501 not implemented
  4. Compare and contrast SOAP and REST

    • SOAP is a XML-based message protocol, while REST is an architectural style
    • SOAP uses WSDL for communication between consumer and provider, whereas REST just uses XML or JSON to send and receive data
    • SOAP invokes services by calling RPC method, REST just simply calls services via URL path

Document the following Vocabulary Terms

Which 3 things had you heard about previously and now have better clarity on?

Which 3 things are you hoping to learn more about in the upcoming lecture/demo?

Sources

<==Back