-2

I have tried this below link but not working in my server. Jquery Ajax - post huge string value

1
  • 1
    Welcome. Please provide more information, it'll be very hard to help you otherwise. Show the code you're using and explain what isn't working and what happens. Thanks. Commented Aug 28, 2018 at 13:20

1 Answer 1

0

Try this one

    $.ajax({
            type: "POST",
            url: "your_url",
            data: {string:3MB_string},
            contentType: "application/json",
            dataType: "json",
            success: function (data) {
                if (data == undefined) {
                    alert("Error : 219");
                }
                else {
                    alert(data.d);
                }
            },
            error: function (data) {
                if (data == undefined) {
                    alert("Error : 465");
                }
                else {
                    alert("Error : 468 " + data.d);
                }
            }
        });
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.