Anything special that needs to be done on the setup? I am getting an error when trying to query libretranslate:
POST / HTTP/1.1
Content-Type: application/json
User-Agent: PostmanRuntime/7.29.2
Accept: */*
Host: 192.168.0.99:5000
Accept-Encoding: gzip, deflate, br
Connection: keep-alive
Content-Length: 59
{
"q": "Hello!",
"source": "en",
"target": "es"
}
HTTP/1.1 405 METHOD NOT ALLOWED
Access-Control-Allow-Credentials: true
Access-Control-Allow-Headers: Authorization, Content-Type
Access-Control-Allow-Methods: GET, POST
Access-Control-Allow-Origin: *
Access-Control-Expose-Headers: Authorization
Access-Control-Max-Age: 1728000
Allow: HEAD, GET, OPTIONS
Content-Length: 153
Content-Type: text/html; charset=utf-8
Date: Thu, 24 Nov 2022 20:40:21 GMT
Server: waitress
<!doctype html>
<html lang=en>
<title>405 Method Not Allowed</title>
<h1>Method Not Allowed</h1>
<p>The method is not allowed for the requested URL.</p>