enable cross origin for post '/' and validate max_characters
validate whether the input sequence is smaller than max_characters value