getting this error: "The remote server returned an error: (422) Unprocessable Entity." when doing post from C# to RoR
See the question and my original answer on StackOverflowPOST data must be encoded prior to be sent out on the wire as ASCII, if you are sending character not in the ASCII range. You should try something like:
Byte[] postData = asciiEncoding.GetBytes(HttpUtility.UrlEncode("email=e2@email.com&password=hunter2"));