translate-shell icon indicating copy to clipboard operation
translate-shell copied to clipboard

Send POST requests

Open soimort opened this issue 11 years ago • 0 comments

For HTTP GET requests (which is being used now), encoded URIs will have a length limit, restricted by both web servers, proxies and clients (See this thread http://stackoverflow.com/questions/2659952/maximum-length-of-http-get-request). That is why we don't recommend translating very long texts -- they could fail if the server/proxy can't handle them correctly.

A POST request would solve this problem. (it seems Google Translate supports that as well)

soimort avatar Sep 13 '14 23:09 soimort