Firewall - consider traffic as attack

Firewall - consider traffic as attack

Hello, 
  •  I have written the following code to call server function with http GET .
              function Get(url) {

        if (Core.Utilities.IsQueryStringExists(url)) {
            url = url + "&IsAjax=true";
        }

        else {
            url = url + "?IsAjax=true";
        }

        var dfd = $.Deferred();

        $.ajax({
            url: encodeURI(url),
            type: "GET",
            contentType: "application/json;odata=verbose",
            headers: {
                "accept": "application/json;odata=verbose"
            },

            success: function (data) {
                dfd.resolve(data);
            },

            error: function (jqXHR, textStatus, errorThrown) {
                dfd.reject(jqXHR, textStatus, errorThrown);
            }
        });

        return dfd.promise();
    };



            Referrer

   http://domainName/Base/GetSubspecialities?parentId=94&IsAjax=true

 

Attack

    Unknown Content Type

 

Attack Category

    Injection Attacks

 

Detail

    Content-type="application/json"


  • how Can I solve it ?