Hit multiple URL from a text file and store result in other test file

Hi,

I have a problem where i have to hit multiple URL that are stored in a text file (input.txt) and save their output in different text file (output.txt) somewhat like :
cat input.txt

http://192.168.21.20:8080/PPUPS/international?NUmber=917875446856
http://192.168.21.20:8080/PPUPS/international?NUmber=918952342513
http://192.168.21.20:8080/PPUPS/international?NUmber=919898766231

Now output.txt should have the response of these URL like :
cat output.txt

SUCCESS
FAIL
SUCCESS

How are you hitting these URL individually via command line?

Mukul,

You can go for curl or wget commands in order to open the URL and save the content.

Regards,
J

@vidyadhar85 : I m using curl to hit the URL manually eg.

curl 'http://192.168.21.20:8080/PPUPS/international?NUmber=917875446856'

@scriptscript : Yes i can use any of the command but the problem is that i have more then 64000 url and hitting those one by one is not feasible, is there any way to automate the same.?