alado 2.6.0 → 2.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1122,7 +1122,7 @@ public getAvatar(req: Request) {
|
|
|
1122
1122
|
}
|
|
1123
1123
|
```
|
|
1124
1124
|
|
|
1125
|
-
|
|
1125
|
+
## XML Request Body (>=2.6.0)
|
|
1126
1126
|
|
|
1127
1127
|
When a request arrives with a `Content-Type` of `text/xml` or `application/xml`, Alado automatically parses the raw body into a plain JavaScript object before your handler runs — no configuration needed, and no external XML library involved. `req.body` behaves the same way it does for JSON requests.
|
|
1128
1128
|
|