Implementing data validation in post controller method.
Pulling up status codes and keys.