On 2016-06-06 17:29, Andriy Rysin wrote: > 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.
I prefer the second approach to keep the API strict. But I've also added an exception with a hopefully helpful error message when someone uses "/v2/" in the URL but ends up in the v1 API anyway. Regards Daniel ------------------------------------------------------------------------------ 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