-
Notifications
You must be signed in to change notification settings - Fork 12
Handout Server/API-Technologien #14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Handout Server/API-Technologien
m-mohr
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your submission. Could you provide the handout text in Markdown format, please?
|
Thanks, what's this cite-related Markdown? This doesn't render nicely on GitHub. |
| * **Routing:** Ordnet eine URL dem zuständigen Code zu (z. B. `/users/123` wird der Nutzer-Funktion zugeordnet). | ||
| * **Middleware:** Funktions-Schicht im Anfrage-Antwort-Zyklus, die Anfragen loggen, authentifizieren oder anreichern kann. | ||
| * **Beispiele:** | ||
| * **Node.js / Express:** Minimalistisches Framework, das komplett auf Middleware-Ketten basiert; ideal für schlanke REST-APIs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| * **Node.js / Express:** Minimalistisches Framework, das komplett auf Middleware-Ketten basiert; ideal für schlanke REST-APIs. | |
| * **Express (Node.js):** Minimalistisches Framework, das komplett auf Middleware-Ketten basiert; ideal für schlanke REST-APIs. |
|
|
||
| ### HTTP-Methoden | ||
|
|
||
| * **Korrekte Nutzung:** Setzen Sie GET, POST, PUT, DELETE richtig ein. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| * **Korrekte Nutzung:** Setzen Sie GET, POST, PUT, DELETE richtig ein. | |
| * **Korrekte Nutzung:** Setzen Sie GET, POST, PUT, PATCH und DELETE richtig ein. |
| * `200 OK`: Erfolg | ||
| * `201 Created`: Ressource erfolgreich erstellt | ||
| * `404 Not Found`: Ressource nicht gefunden | ||
| * `500 Internal Server Error`: Server-Fehler |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Das ist eine Auwahl, ein Link zu einer vollständigeren Liste wäre sicher hilfreich.
Handout Server/API-Technologien
@simsimf @jkrumboe