example2 for demonstrating post requests