25 lines
409 B
HTTP
25 lines
409 B
HTTP
@WyvernInventory.API_HostAddress = http://localhost:5244
|
|
|
|
POST http://localhost:5244/inventory
|
|
Content-Type: application/json
|
|
|
|
[
|
|
{
|
|
"name": "RTX 4070"
|
|
}
|
|
]
|
|
###
|
|
|
|
POST http://localhost:5244/inventory/upsert
|
|
Content-Type: application/json
|
|
|
|
[
|
|
{
|
|
"name": "RTX 4070 Ti Super",
|
|
"description": "Desktop GPU"
|
|
},
|
|
{
|
|
"name": "Ryzen 9 7950X3D",
|
|
"description": "Desktop CPU 16c/32t"
|
|
}
|
|
] |