Added Card model, updated database initialization, udated readme.
This commit is contained in:
@@ -1,6 +1,28 @@
|
||||
@SDG_Backend_Barracuda_HostAddress = http://localhost:5164
|
||||
|
||||
GET {{SDG_Backend_Barracuda_HostAddress}}/weatherforecast/
|
||||
### Get all cards
|
||||
GET {{SDG_Backend_Barracuda_HostAddress}}/card/
|
||||
Accept: application/json
|
||||
|
||||
###
|
||||
### Create a new card
|
||||
POST {{SDG_Backend_Barracuda_HostAddress}}/card
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"value": "Sample Card Value"
|
||||
}
|
||||
|
||||
### Get a card by ID
|
||||
GET {{SDG_Backend_Barracuda_HostAddress}}/card/1
|
||||
Accept: application/json
|
||||
|
||||
### Update a card
|
||||
PUT {{SDG_Backend_Barracuda_HostAddress}}/card/1
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"value": "Updated Card Value"
|
||||
}
|
||||
|
||||
### Delete a card
|
||||
DELETE {{SDG_Backend_Barracuda_HostAddress}}/card/1
|
||||
|
||||
Reference in New Issue
Block a user