updated communications api to send the Content-Type header when posting a new message