Created POST portion for the nodejs rest-app