Skip to content

Gerald-Star/Mastering-Async-Javascript

Repository files navigation

Mastering Asynchronous Javascript

API s Documentations

  1. DOG API dog.ceo/api https://dog.ceo/dog-api/

What is a Client and Server?

What is a Request?

What is a Request/Response in Client and Server relationship?

What is the man job of the server?

Request/Response Status Codes

What would be the 3-digit server response code be if the server experiences an internal server error?

What is JSON

JSON can be a single object or an array of objects

How to validate a JSON object using a jsonlint (JSON Validator)

What is XHR?

Difference between JSON; YAML and XML

Making Request to API using base and endpoint URL

endpoint URL : /courses /users /templates /resources/challenges

browser plugins for JSON formatter browser plugin

How to write/get a fetch() request in JS

Storing response in fetch request using await/async keyword

Explain try/catch and response.ok

The try/catch catches exceptions and errors that occur during the execution of the code, including network errors and other unexpected issues.

response.ok

Checks the success of the HTTP response status, which might not throw an error but still indicates a failure.

About

Async/ Await, Promise, API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published