americanexpress / nodes

A GraphQL JVM Client - Java, Kotlin, Scala, etc.
Apache License 2.0
307 stars 70 forks source link

HTTP to HTTPS #31

Closed asanajiun closed 6 years ago

asanajiun commented 6 years ago

Enhancement: consider supporting HttpsURLConnection javax.net.ssl.HttpsURLConnection in order to request secure https API endpoints.

chemdrew commented 6 years ago

Hi @asanajiun, HttpsURLConnection simply extends HttpURLConnection and still provides the the same ssl validation of https endpoints. It just adds some more methods for dealing with the ssl response.

Both http and https endpoints are currently supported in the library and ssl validation is performed for https endpoints.