Wednesday, 14 November 2012

CORS handling in MVC4 API

This post is a simple answers to CORS issues on WebAPI without being over complex

Type call might be

           url: 'http://SERVER/api/address/test/33345345',
           contentType: "application/json",
               type: "GET",
               datatype: "json",
                success: function(data){
            error: function (e) {
                   $("#call1").html("FAILED TO GET ADDRESS");


No comments:

Post a Comment

Comments are welcome, but are moderated and may take a wee while before shown.