Fortune cookies as a restful service