API not working
-
Hello,
I am not sure what I am doing wrong.
I have tried the following
languagetool.domain.com/secret and languagetool.domain.com/api/secret
The https://languagetool.domain.com/secret gives me the error
Sorry, something went wrong while checking your text. Restarting your browser might solve this. (400)The languagetool.domain.com/api/secret gives me
Cannot connect to https://languagetool.domain.com/api/secret/check - please check your internet connection or try again in a minute (#1, code=0) -
Hello,
I am not sure what I am doing wrong.
I have tried the following
languagetool.domain.com/secret and languagetool.domain.com/api/secret
The https://languagetool.domain.com/secret gives me the error
Sorry, something went wrong while checking your text. Restarting your browser might solve this. (400)The languagetool.domain.com/api/secret gives me
Cannot connect to https://languagetool.domain.com/api/secret/check - please check your internet connection or try again in a minute (#1, code=0)@privsec I think the documentation has changed slightly by now: https://docs.cloudron.io/apps/languagetool/
The API seems to be
https://languagetool.domain.com/secret/v2(note the "v2"!)
Also, I don't know how many characters the "secret" can have - the documentation suggests 6 characters(?)
Also note from the docs:The secret is part of the URL. For this reason, keep it simple and use only alphanumerals for the secret.
-
@privsec I think the documentation has changed slightly by now: https://docs.cloudron.io/apps/languagetool/
The API seems to be
https://languagetool.domain.com/secret/v2(note the "v2"!)
Also, I don't know how many characters the "secret" can have - the documentation suggests 6 characters(?)
Also note from the docs:The secret is part of the URL. For this reason, keep it simple and use only alphanumerals for the secret.
This works for me now (censored data):
My env file
# magic/hidden URL # API_PATH_PREFIX=MakeAPIHidden # Activate n-gram dataset(s) if necessary # https://languagetool.org/download/ngram-data/ NGRAM_DATASET=("en" "de") NGRAMS_DATASET_PATH=/media/Languagetool/ API_PATH_PREFIX=x6ygnjHTMy configuration in the LanguageTool Extension:
Other Server: https://lt.mydomain.com/x6ygnjHT/v2 -
This works for me now (censored data):
My env file
# magic/hidden URL # API_PATH_PREFIX=MakeAPIHidden # Activate n-gram dataset(s) if necessary # https://languagetool.org/download/ngram-data/ NGRAM_DATASET=("en" "de") NGRAMS_DATASET_PATH=/media/Languagetool/ API_PATH_PREFIX=x6ygnjHTMy configuration in the LanguageTool Extension:
Other Server: https://lt.mydomain.com/x6ygnjHT/v2 -
N nebulon marked this topic as a question on
-
N nebulon has marked this topic as solved on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login