a simple JSON api server, sames POSTs to a text file in public, returns JSON to gets