Adding demo codebase of OpenSAP week3 unit1

This commit is contained in:
Harini Gunabalan
2020-03-21 23:39:12 +01:00
parent 06755978b2
commit 6cc2741c3e
65 changed files with 991 additions and 1602 deletions

View File

@@ -0,0 +1,25 @@
### Service Document
GET http://localhost:4004/admin/Authors
### Create Author
POST http://localhost:4004/admin/Authors HTTP/1.1
content-Type: application/json
{
"ID": 105,
"name": "J.K. Rowling",
"dateOfBirth": null,
"dateOfDeath": null,
"placeOfBirth": "",
"placeOfDeath": ""
}
### Update Author
PATCH http://localhost:4004/admin/Authors/105 HTTP/1.1
content-Type: application/json
{
"placeOfBirth": "United Kingdom"
}
### Delete Author
DELETE http://localhost:4004/admin/Authors/105 HTTP/1.1