How to use rest-api with Java HttpClient?

Okay, I changed to .version(HttpClient.Version.HTTP_1_1) and now it’s working.

2 Likes