Hi,
I am not sure if this is the correct place to post this, please feel free if the moderators can find a better place for this post. I have a general question regarding using curl (
http://curl.haxx.se/) with
Java. I have a web-application running in
tomcat, based on certain actions in my web-applications I need to write a java code which would trigger curl. Curl would then query a third-party application and return an XML/JSON.
this has to be read by me and return appropriate response to the user.
Can this be done ? I see that curl has a binary distribution for Linux, once I download it (
http://curl.haxx.se/download.html) how do I call this from my java web-app.
thanks !