server only accepts correct JSON headers