Hi Daniel I've tested switching my web-page to /v2 according to http://wiki.languagetool.org/integration-on-websites And I found one little problem: in the instructions it says to use "https://languagetool.org/api/v2/check" so I've replaced it with "http://r2u.org.ua/api/v2/check" but it returned the xml. The reason is the line
if (requestedUri.getRawPath().startsWith("/v2/")) { in LanguageToolHttpHandler.java It seems that on languagetool.org /api maps to the checker, thus for the code the URI starts with /v2, on my site I don't have /api mapping so I had to change my url to http://r2u.org.ua/v2/check for it to work. We need to either make the code a bit more flexible about the URI or make a comment in the document. IMHO 1st approach is better. Thanks, Andriy 2016-06-04 5:52 GMT-04:00 Daniel Naber <daniel.na...@languagetool.org>: > If you're using our HTTP API that returns XML, please read our > announcement: > > https://languagetool.org/http-api/migration.php > > In a nutshell, the old API will be turned off in a few months and it > will be replaced with a new API that returns JSON. > > > ------------------------------------------------------------------------------ > What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic > patterns at an interface-level. Reveals which users, apps, and protocols are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity > planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e > _______________________________________________ > Languagetool-devel mailing list > Languagetool-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/languagetool-devel ------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e _______________________________________________ Languagetool-devel mailing list Languagetool-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/languagetool-devel