The problem: sending ajax requests from HTML5 application on local machine to my API that hosted under IIS on Google Cloud. The facts: The code looks like: $.post({ url: apiEndpoint + "Init", contentType: "application/json; charset=utf-8", data: data, success: function (response) { logResponse("API response [Init]", response.d); }, error: function (xhr, status, error) { logResponse('Fail to call init API', data); } }); The error was looks like: Originally, there was "crossDomain: true" parameter in ...
I make some changes in my site. The most of them is a prototype of universal content localization engine that can be applyed on web content without changes in DB or server-side code. It's a good start for Language Medium platform that is going to be easy and useful. NOTE: not all text content is localized to Russian right now - only menu, first section and few first Projects. It's becasue the engine is without BackOffice right now and all translations I'm adding directly in DB:-) But don't worry - it will be soon B-) Also there are links to projects pages and some of them are real :-)
Comments
Post a Comment