postinmemory: new example

This is similar to getinmemory.c but with an initial POST.

Combined-by: Ulf Samuelsson