Huge chars data is not going through ajax call to server

Huge chars data is not going through ajax call to server

huge chars data is not going through ajax call and I can able to see the chars in request body in browsers debug tools. If I send few chars I can able to receive it in server side!!

ajax call :

  1. jQuery.ajax({
  2.         url : "/RegisterServlet_2/servlet/Register",
  3.         type : "POST",
  4.         data: "img="+compressed,
  5.         cache : false,
  6.         async : false,
  7.         success : function()
  8.         {
  9.         },
  10.         error : function()
  11.         {
  12.         }
  13.     });


Fyi, I don't want to send as json object. I just want to send as string only! Any way out? Thanks in advance.