REST API to save and retrieve form results