example resource with GET and POST