I\'m having an Image in the form of Byte Array, from that I\'m converting Byte Array from the following C# method
public HttpResponseMessage ReturnBytes(byte
Send your image not as a byte array, but Convert.ToBase64String the byte array and send as text. Then your code should work.
Convert.ToBase64String