vb.net 4.5.2 call api but receive status code 302 found without response how to solve

  Kiến thức lập trình

vb.net 4.5.2 call api Post but receive status code 302 found without response how to solve

        $.ajax({
            type: "POST",
            url: page.ashx,
            data: data, 
            dataType: "json",
            async: true,
            contentType: "application/json; charset=utf-8",
            success: function (data) {

            },
            error: function (XMLHttpRequest, textStatus, errorThrown) {
                alert(XMLHttpRequest.responseText);
            }
            , statusCode: {
                404: function () {
                }, 500: function () {
                }
            }
        });

how to get response from call api 200

LEAVE A COMMENT