Sharepoint apps to insert Lead records via AJAX/jquery/javascript .. HELP HELP!!

Sharepoint apps to insert Lead records via AJAX/jquery/javascript .. HELP HELP!!

Have created sharepoint app 2013 and when i try to save the Lead information from ajax call it gives CORS error. 
via URL if i hit to insert it works.. so no problem in URL for insert.

Sharepoint only allows client side scripting thus need your help or guidance on how to perform insert via sharepoint app 2013 AJAX

below is the code

 $('#submitZOHO').click(function () {

               

                    $auth_token = 'XXXXXXXXXXXX';
                    $xml_data = '<Leads>';
                    $xml_data += '<row no="1">';
                    $xml_data += '<FL val="Lead Source">Web Download</FL>';
                    $xml_data += '<FL val="Company">' + $("input[id=companyname]")[0].value + '</FL>';
                    $xml_data += '<FL val="First Name">' + $("input[id=fullName]")[0].value + '</FL>';
                    $xml_data += '<FL val="Last Name">-</FL>';
                    $xml_data += '<FL val="Title">Manager</FL>';
                    $xml_data += '<FL val="Email">' + $("input[id=emailid]")[0].value + '</FL>';
                    $xml_data += '<FL val="Phone">' + $("input[id=Phoneno]")[0].value + '</FL>';
                    $xml_data += '</row>';
                    $xml_data += '</Leads>';


                    var d = $xml_data;

                    var urlval = ' https://crm.zoho.com/crm/private/xml/Leads/insertRecords?newFormat=1&authtoken=' + $auth_token + '&scope=crmapi&xmlData=';
                    urlval = urlval + encodeURIComponent(d);


                    $.ajax(
                    {
                        url: urlval,
                        accepts: { xml: "text/xml", text: "text/plain" },
                        type: 'GET',
                        contentType: "application/x-www-form-urlencoded; charset=UTF-8",
                        dataType: "xml",
                        crossDomain: true,
                        success: function (result) {
                            if (result.toString() == "True") {
                                alert('success from zoho')
                            }
                            else {
                                alert("error from ZOHO: " + result.text.toString());
                            }
                            //window.location.href = "/Home/Tasks?ProjectId=" + d;

                        },
                        error: function (xhr, ajaxOptions, thrownError) {
                           
                            alert('error');
                        }

                    });
            });


I tried all content types and several variations but no luck :(