School
Advanced Javascript
Week 07
Class
Read
- XMLHttpRequest Tutorial
The article on zetcode.com is a tutorial on how to use the XMLHttpRequest object in JavaScript to make HTTP requests to a web server and retrieve data. The article provides a step-by-step guide on how to create an instance of the XMLHttpRequest object, configure it with the appropriate request parameters, and send the request to the server. The article also covers how to handle the server's response using callback functions and how to handle errors. The tutorial includes sample code snippets and explanations of each step along the way. Overall, the article serves as a useful resource for developers looking to use JavaScript to make HTTP requests and interact with web servers.
- HTTP Methods
The article on w3schools.com is a reference guide for the HTTP methods used in web development. The article explains the various HTTP methods, including GET, POST, PUT, DELETE, HEAD, OPTIONS, and TRACE, and their respective purposes. The article provides a clear definition and description of each method and explains their differences and usage. Additionally, the article explains the HTTP status codes that are returned by servers as a response to requests made using these methods. The article serves as a useful reference for web developers looking to understand and use the various HTTP methods in their web applications.
- Postman
Postman is a popular collaboration platform for API development that provides tools for testing, documenting, and sharing APIs. It is available as a downloadable desktop application for Windows, macOS, and Linux. The program allows developers to make HTTP requests to APIs, including GET, POST, PUT, DELETE, and others, and provides a graphical interface for viewing the responses. It also includes features such as automatic request generation, request and response history, testing and debugging tools, and support for various authentication mechanisms. Postman simplifies the process of working with APIs and can be used by developers, testers, and other team members involved in API development. Additionally, it supports collaboration between team members through features such as team workspaces, version control, and shared collections. Overall, Postman is a powerful and versatile tool for API development that can help streamline the process and improve collaboration within development teams.