title: How to make HTTP post request from an JavaFX client?
body: <p>I've an HTTP server which accepts <code>HTTP POST requests</code>, it is working just fine for the request made from the web-browser.</p>
  
  <p>Now, I wanted make the same request from client app being developed using <code>JavaFX-2</code>. Please share me a code snippet just enough to pass two string type parameters Ex <code>Username and Password</code> from <code>JavaFX-2</code> client to HTTP Server and handle the response back from server.</p>
  
  <p>PS: Since I'm new to <code>JavaFX</code> which is relatively new, just wanted to know is there any special HTTP client API available in JavaFX or it is just as any HTTP request made from existing Java APIs. </p>