If you're interested in functional programming, you might also want to checkout my second blog which i'm actively working on!!

Wednesday, May 12, 2010

Exist DB: how to use REST

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