Decode JSON body once for requests

Instead of doing a json_body decode in each method do it once so that we
can correctly handle any problems. This will be needed to handle
integration information in one place.

Change-Id: Id136efc44d5eb2b0f87d2126743c54d21df32648
Signed-off-by: Jamie Lennox <jamielennox@gmail.com>
1 file changed