Den kann ich nicht angeben. Dann komm Fehler 400.
Wireshark:
Code:
POST /translate HTTP/1.0
Connection: keep-alive
Content-Type: application/json; charset=UTF-8
Content-Length: 96
Host: translate.lan:5000
Accept: application/json
User-Agent: 'User-Agent', 'Mozilla/5.0
{ "q": "L?nge,"source": "de", "target": "en", "api_key": "######"}HTTP/1.0 400 BAD REQUEST