model_driven_api 3.5.8 → 3.5.9
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.
- checksums.yaml +4 -4
- data/app/controllers/api/v2/info_controller.rb +3 -7
- data/lib/model_driven_api/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 50e6447048e37e35c8b4edeb8ddf337e9d5e8195d5bb515e69858368242a49d4
|
|
4
|
+
data.tar.gz: 8a902eb91707029d994c846edb09d5dea74444d7eca758dd678137c1e179be9e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d4b88c69f9909a692cf4c811ba50f60247e55cd8ae30d3673b4962bde51fd09e0c45736bac2cc61a3eed8c43e064555e6e1bc36d62c89bdf53307cb2160ed299
|
|
7
|
+
data.tar.gz: c7ffd3833e0024b58945151f7db031b053617e385480493b256f201c59949902c2eb3dae6585fc9b04a8fb3ff7942695254fc4eee4c09000b256d6821f1d8617
|
|
@@ -1305,15 +1305,11 @@ const handleUpdate = async () => {
|
|
|
1305
1305
|
|
|
1306
1306
|
```
|
|
1307
1307
|
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
---
|
|
1311
|
-
|
|
1312
|
-
## 4. Bare Metal HTTP Requests
|
|
1308
|
+
### 4. Bare Metal HTTP Requests
|
|
1313
1309
|
|
|
1314
1310
|
If you were to inspect the network traffic or manually construct the request (e.g., using raw sockets or a tool like Postman/Insomnia), this is exactly what the payload looks like "over the wire."
|
|
1315
1311
|
|
|
1316
|
-
|
|
1312
|
+
#### A. POST Request (Upload)
|
|
1317
1313
|
|
|
1318
1314
|
Notice how `multipart/form-data` uses a **boundary** string (randomly generated by the client) to separate different fields.
|
|
1319
1315
|
|
|
@@ -1340,7 +1336,7 @@ Content-Type: image/png
|
|
|
1340
1336
|
|
|
1341
1337
|
```
|
|
1342
1338
|
|
|
1343
|
-
|
|
1339
|
+
#### B. PATCH Request (Deletion via IDs)
|
|
1344
1340
|
|
|
1345
1341
|
When sending the `remove_assets` array via `FormData`, the key is repeated for every ID. This is how HTTP handles arrays in form data.
|
|
1346
1342
|
|