Encoded the submitted data