1833247 Members
3065 Online
110051 Solutions
New Discussion

Re: shell script

 
samrat dutta
New Member

shell script

please give me an example in shell script using post method http request to servlet
3 REPLIES 3
Prasanth V Aravind
Trusted Contributor

Re: shell script


samrat,

give more details, what exactly you want to do


GUdluck
Prasanth
samrat dutta
New Member

Re: shell script

I want to call servlet through http post
Modris Bremze
Esteemed Contributor

Re: shell script

You will probably need some sort of utility to form a proper HTTP request for you. You could try curl (get it @ http://curl.haxx.se/download.html if you don't have it). With that it should be something like
curl -d "postparam1=val1&someothervar=2" http://servlethost.com/