implemented a demo callback POST/GET