A Flask example to show posting to a REST interface with a MongoDB Backend