I was taking a look at how-to use the REST API from Exist and BaseX and tried to write a unified resuable API for following use case:
- PUT (insert resource into database)
- DELETE (delete resource from database)
- POST (to query the database)
And this is what i ended up with:
And finally some unit test:
No comments:
Post a Comment