We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I try send mail with unrest library and I have this problem this, I used the next code
HttpRequestWithBody request = null; request = Unirest.post("********************************" + "messages") .basicAuth("api", "**********************************") .queryString("from", from) .queryString("to", to) .queryString("subject", subject) .queryString("html", html); //request.header("content-type", "Content-Type: text/html; charset=UTF-8");
and the response is 414 Request-Uri Too Large.
The text was updated successfully, but these errors were encountered:
Html probably is too long for passing in URL. Try using .field("html", html).
.field("html", html)
Sorry, something went wrong.
No branches or pull requests
I try send mail with unrest library and I have this problem this, I used the next code
and the response is 414 Request-Uri Too Large.
The text was updated successfully, but these errors were encountered: