RESTful flashcards