Does CORS error is related to front end or back end? If it's from front end, how to handle it? I'm getting 
I got little bit move forward. Now, i'm getting No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access error. How to add header to it?
My Ajax call is:
$.ajax({
                    type: "POST",
                    url: url,
                    //contentType: "application/json; charset=utf-8",
                    crossDomain:true,
                    data: JSON.stringify(feederData),
                    dataType: "json",
                    success: function (data) {
                        console.log(data);
                        if (data === true) {
                            alert();
                        }
                    },
                    error: function (a, b, c) {
                        console.log(a);
                        alert(a);
                    }
                });