Adding codebase of OpenSAP week3 unit3 demo

This commit is contained in:
Harini Gunabalan
2020-03-21 23:46:06 +01:00
parent 6cc2741c3e
commit fa724d4c9c
3 changed files with 45 additions and 26 deletions

View File

@@ -1,25 +0,0 @@
### 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