Sample REST API code for LLR