Create a simple Python script for a POST REST API endpoint