Transform Curl http://IP:PORT/sendLocalEvent? eventName=_event into Javafx

Asked

Viewed 77 times

0

I would like to make an app in javafx , when you press a button sends a command like: curl http://IP:PORTA/sendLocalEvent?eventName=_evento to a server on the same network to start the _event event.

Would it be using httpUrlConnection and POST? How would it be?

1 answer

0

Browser other questions tagged

You are not signed in. Login or sign up in order to post.