Fixed bug where the content header was not being passed onto the post request. Changed data => json.
Fixed bug where the content header was not being passed onto the post
request. Changed data => json.

Added extra logging to display the error with more detail

alphagov/notifications-api,alphagov/notifications-api