How to send encoded Base64 image string to server using JSON object
<p>I am new in android . i have send image to server using Json format as a string.</p>

<p>so i have Encoded image string  i.e base64 string.</p>

<pre><code> Json j =  new JSonObject();

String Image_string = Base64.ToEncodedString(bytearray, Base64.Default);

j.put("image_file_content",Image_string);
</code></pre>

<p>But i am getting this error.
 Please help me..wts wrong</p>

<p></p>

<p>400 Bad Request</p>

<p></p>

<h1>Bad Request</h1>

<p>Your browser sent a request that this server could not understand.<br />

</p>

<p>Additionally, a 404 Not Found

error was encountered while trying to use an ErrorDocument to handle the request.</p>

<p></p>
