Hello community! I'm a new member and very excited about this forum!
I need to create an application which sends text to a specific website, makes a specific request and gets the results.
For example, the application sends the text "My dog's name is Hercules." to google translate, requests translation and gets the result.
Another example, the application sends "ubuntu linux" to Google then requests search with these words and gets the results.
Is there any idea how to accomplish that? Maybe with the java.net package or another java lib?
Is there any application that provides such services so I don't have to create anything? I already tried wput and wget but didn't make it.
Thanks in advance for your help! It's very important to me. :)
Help with an application
Started by Silvestros, Jul 15 2010 11:40 PM
3 replies to this topic
#1
Posted 15 July 2010 - 11:40 PM
|
|
|
#2
Posted 16 July 2010 - 03:10 AM
There is a very complete package named CURL that should be fine for most of your requirements. Are you wishing to do it just from the command line or implement it simply into a progamming language? You can do both with it.
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
#3
Posted 16 July 2010 - 06:29 AM
Thank you for your answer my friend. I prefer to implement it simply into a programming language. I'll check this CURL package and let you know if this worked for me.
#4
Posted 23 July 2010 - 01:52 PM
I made it with curl! I did it from the command line after all, so now I have to learn some shell scripting to make a script. Thank you very much again!


Sign In
Create Account


Back to top









