report $body var if POST/PUT call fails