UOC API examples for web applications