Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung | |||
modul:m290:learningunits:lu09:theorie:02 [2024/10/17 16:28] – gelöscht vdemir | modul:m290:learningunits:lu09:theorie:02 [2024/11/05 13:14] (aktuell) – angelegt vdemir | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
+ | ====== LU11b - Postman Client/ | ||
+ | |||
+ | ===== Learning Objectives ===== | ||
+ | - Know what POSTMAN is an describe the benefits of it | ||
+ | - Describe how to use POSTMAN withing the module 290 | ||
+ | |||
+ | ===== Sources ===== | ||
+ | * [[https:// | ||
+ | | ||
+ | ===== Introduction ===== | ||
+ | {{: | ||
+ | |||
+ | Postman is a popular application used for API development, | ||
+ | |||
+ | Additionally, | ||
+ | |||
+ | ===== Why using POSTMAN ===== | ||
+ | In the context of developing and testing Node.js servers, Postman is an invaluable tool. Postman provides a graphical user interface (GUI) for developers to easily create, send, and analyze HTTP requests and responses, which is especially useful for testing APIs (Application Programming Interfaces) built with Node.js. Here’s how Postman fits into the workflow: | ||
+ | |||
+ | - **Request Creation and Testing:** With Postman, you can create HTTP requests (such as GET, POST, PUT, DELETE, etc.) to interact with your Node server. For example, if you have a REST API endpoint on your Node server, you can use Postman to test how it responds to different types of requests without needing a frontend interface. This speeds up backend testing by making it easy to customize and send specific data, headers, and authentication tokens to endpoints. | ||
+ | - **Environment and Variable Management: | ||
+ | - **Automated Testing and Collection Runners:** In addition to manual testing, Postman enables you to automate tests by writing JavaScript-based tests within the tool. These scripts can check for expected responses, validate data structures, or manage conditions based on response codes. Postman collections allow you to group and sequence API calls, making it possible to run a series of requests in a particular order—ideal for testing workflows or processes on a Node.js server. | ||
+ | - **Debugging and Documentation: | ||
+ | |||
+ | By streamlining API testing, Postman complements a Node.js development environment, | ||
+ | |||
+ | ===== Tutorials ===== | ||
+ | ^ Videotutorial Deutsch ^ {{ : | ||
+ | ^ Videotutorial English ^ {{ : | ||
+ | |||
+ | ==== Vocabulary ==== | ||
+ | ^English ^ Deutsch ^ | ||
+ | | ...| ...| | ||
+ | |||
+ | |||
+ | ---- | ||
+ | [[https:// | ||