python REST API based server code accepting and experimental form