tags:

views:

22

answers:

1
A: 

The problem is:

req.ContentType = "application/x-www-form-urlencoded";

This tells the server your data is URL-encoded, and '<' is a URL metacharacter. Either URLEncode your data, or don't tell the server the data is URLEncoded when it isn't.

Dour High Arch
HttpUtility.UrlEncode(statusMessages) above should be encoding it.
Avoidiam