D
D
Dmitry Sch2021-05-14 11:53:13
JavaScript
Dmitry Sch, 2021-05-14 11:53:13

How to fix the net::ERR_CONNECTION_CLOSED error when making a GET request?

Good afternoon. When executed, an error occurs and the request does not even go to the server. Could the problem be due to a long GET request body exceeding 2048 characters? How can this be bypassed?

$.ajax({
            url: 'https://api.cdek.ru/calculator/calculate_price_by_jsonp.php',
            data: {
              "json": formDataJson
            },
            type: 'GET',
            dataType: "jsonp",            
            success: function(data) {}
})

609e39a31ca12086902782.jpeg

609e3a2ac79ab611883344.jpeg

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question