cURL is a CLI tool for issuing HTTP GET, POST, & PUT request.
4
votes
3answers
677 views
Does anybody here have experience in automating some tasks in web applications using curl?
I have some "corporative" systems I have to use at work. Some of them are terrible, with frames, pop-ups and such.
I was thinking about automating some stuff using curl or something like that. I need ...
6
votes
2answers
219 views
Are there any good tools besides SeleniumRC that can fetch webpages including content post-painted by JavaScript?
One major shortcoming of curl is that more and more wepages are having their main piece of content painted by a JavaScript AJAX response that occurs after the initial HTTP response. curl never picks ...
3
votes
2answers
3k views
loop curl get request bash
I'm trying to automate a curl script and eventually make it loop also. I found that I can't use any loop like:
for i in `cat authors`
do
curl *line here* ...
1
vote
1answer
651 views
How to delete the oldest file over FTP using CURL?
I am trying to write a script that will use CURL to FTP to a folder on a file server, then count the files in that folder. If there are more than 5 files, delete the oldest one.
I know how to delete ...
2
votes
1answer
170 views
Strange issue with curl/lynx and non resolving domains
I have a weird issue on my server in that if I use curl or lynx to try and access a
URL that doesn't exist (say a non registered domain, or a domain
that's not in DNS), I don't get an error, it ...
2
votes
2answers
221 views
Using “&&” is not effective for cURL submit form (don't execute second line if first line fails)
I'm submitting to my website using cURL. I make cURL post it in timely fashion.
In below code; first line is curl submit; second line is for queuing:
curl -b cookies.txt \
-d title="$(sed ...
1
vote
1answer
355 views
How do I create a local copy of a complete website section from OSX using curl?
I'm trying to download Mathematics of the Discrete Fourier Transform
so that I can read through it off-line on my iPad (which doesn't have an Internet connection)
I have used wget in Linux. It seems ...
1
vote
1answer
357 views
submitting form with cURL sometimes works, sometimes doesn't
I use this command to fill out a form in Drupal 6 (create node):
curl -b cookies.txt -d ...