Skip to content
New issue

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

Setting character set on requests #4

Closed
apgsga-stb opened this issue Jun 22, 2020 · 2 comments
Closed

Setting character set on requests #4

apgsga-stb opened this issue Jun 22, 2020 · 2 comments

Comments

@apgsga-stb
Copy link

When I pass an e-mail address with umlauts (such as "bär@somedomain.com") to com.verifalia.api.emailvalidations.EmailValidationsRestClient.submit(String[], WaitingStrategy), I get an exception, saying "com.verifalia.api.exceptions.VerifaliaException: 400: Request charset mismatch; please check our developers documentation at https://verifalia.com/developers". I didn't find any possibility to set a character set on the client or the request. What am I supposed to do?

@apgsga-stb
Copy link
Author

We use version 2.0.2 of the verifalia-java-sdk.

verifalia added a commit that referenced this issue Jun 28, 2020
Added support for importing email addresses from a file / input stream /
 byte array
Improved null values handling while serializing JSON data
Fixed an issue with the charset used while serializing input data (#4)
Refactored the way RestRequest builds Http requests
@verifalia
Copy link
Owner

Many thanks for your feedback, @apgsga-stb!
Version 2.1 of our Java SDK - which we have just released - includes a fix for the issue you have reported.

Thanks again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants