Error on proofreading API

Following directions on Public HTTP Proofreading API | dev.languagetool.org

when I execute

curl -d "text=This is an test." -d "language=auto" https://api.languagetool.org/v2/check

I get the error

curl: (35) error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version

Is there any problem with the test?

That command works for me, it returns a JSON result. Could it be your curl is very old? I use curl 7.68.0.

Yes, I have just come back to say it’s a curl version problem. Thanks anyway for your answer.