postman-code-generators icon indicating copy to clipboard operation
postman-code-generators copied to clipboard

add pure Java generator

Open danthe1st opened this issue 4 years ago • 3 comments

Is your feature request related to a problem? Please describe. Postman comes with a few code generators for HTTP Requests.

For Java devs, there are generators for the Libraries OkHttp and Unirest, but there is no code generator for Java without any libraries

Describe the solution you'd like A new code generator generating java code (with URLs/HttpURLConnection and HttpsURLConnection).

Additional context https://docs.oracle.com/javase/8/docs/api/java/net/URL.html https://docs.oracle.com/javase/8/docs/api/java/net/HttpURLConnection.html https://docs.oracle.com/javase/8/docs/api/javax/net/ssl/HttpsURLConnection.html

danthe1st avatar Jan 27 '20 14:01 danthe1st

I'd like to work on this. Getting started for this

someshkoli avatar Mar 22 '20 20:03 someshkoli

Hi is this still up for grabs? I wish to contribute

NeetigyaPod avatar Oct 28 '23 07:10 NeetigyaPod

I don't know about that but it might be a good idea to add something using HttpClient (java.net.http) as well.

danthe1st avatar Oct 28 '23 16:10 danthe1st