Tag Archives: javascript

How-to Fix “Http failure during parsing” Error

In my frontend application, I was making requests to the backend API, but in some cases, I was getting the following error: Http failure during parsing for http://localhost/api/get-data. If you are facing the same problem welcome on board! Reasons for”Http failure during parsing for” error Invalid JSON format One of the possible reasons is that… Read More »

Call WCF service method from javascript (jQuery)

In Advanced Tic Tac Toe we have created WCF backend service and web-based frontend application. Our web application written in javascript, so we want to call WCF service methods through jQuery. There is a small instruction how-to call WCF service from javascript code. First of all you should decorate your service interface with WebInvoke attribute… Read More »