I've an HTTP server which accepts HTTP POST requests
, it is working just fine for the request made from the web-browser.
Now, I wanted make the same request from client app being developed using JavaFX-2
. Please share me a code snippet just enough to pass two string type parameters Ex Username and Password
from JavaFX-2
client to HTTP Server and handle the response back from server.
PS: Since I'm new to JavaFX
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.