api-example.c: add a -o option for output pure message

Hi conman

This is very simple code that output pure message that can used for OpenWrt luci web page.