Over a million developers have joined DZone.

Easiest Way To Do A POST Test From Java

DZone's Guide to

Easiest Way To Do A POST Test From Java

Free Resource
I need to test services with POST transactions.  Using HTML to do it is the easiest way, constructed in Java (that part isn't necessary unless the args are somehow cooked or just too complex to trust hand-crafted HTML).

// write the HTML code out to stdout -- leave it to the user to redirect
System.out.print( "
" ); System.out.print( "
" ); System.out.println();

Opinions expressed by DZone contributors are their own.


Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.


{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}