in reply to Weird Post Data

Answered my own question. It is 'Content-Type' => 'application/json' and no more server errors.