Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11571

REST No Transport Error

$
0
0

Hi all,

I am using a simple REST call with Ajax to pull data from a list in one Web Application and display it in another. However, I get a "No Transport" error. Any ideas? I have used the Content Organizer extensively and know it can cross Web Apps. Here is my Ajax:

$.ajax({
        async: false,
        url: 'http://yourcompany.com/sites/2013/_vti_bin/listdata.svc/c_12_2013',
        type: "GET",
        headers: { "Accept": "application/json;odata=verbose" },
        success: function (data) {
            $.each(data.d.results, function (index, value)
            {
                $("#Details").append(value.Title);
            })
        },
        error: function (data) {
            alert(data.statusText);
        }
    });


Personal Blog: http://thebitsthatbyte.com


Viewing all articles
Browse latest Browse all 11571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>