push_data.py: handle API POST errors even better
push_data.py: handle API POST errors even better

Correctly handle the response body not being JSON, e.g. it could
be HTML if an invalid URL is used.

Also print the request body on failure, to allow easier correlation
of the error with the input which caused it.

HackBrexit/MinistersUnderTheInfluence,HackBrexit/MinistersUnderTheInfluence,HackBrexit/MinistersUnderTheInfluence,HackBrexit/MinistersUnderTheInfluence,HackBrexit/MinistersUnderTheInfluence,HackBrexit/MinistersUnderTheInfluence