Tagged Questions
0
votes
0answers
55 views
cli cURL send pinging with the method “weblogUpdates.ping”
From answer here: http://unix.stackexchange.com/a/36455/17948
The cURL command is:
$ curl <target-pingservice-url> -d 'name=<your site name>' -d url=<your-url> -d rss=/rss.xml
...
5
votes
5answers
425 views
Read and confirm shell script before piping from curl to sh (curl -s [url] | sh)
Whenever I have to execute a shell script from the web curl -s [url] | sh, I first open url in my web browser to make sure the script isn't malicious and is safe to run.
I remember seeing a command ...
2
votes
2answers
375 views
what does Curl's stand-alone hyphen (-) mean?
what's the stand-alone hyphen (between the -C & -O) stand for in this command?
curl -C - -O http://www.intersil.com/content/dam/Intersil/documents/fn67/fn6742.pdf
FWIW- I'm following a ...
1
vote
1answer
391 views
How to format a curl command for a special task?
There is a search page in a form http://site.com/search.php and it sends a search query via POST request. I want to fetch this request via curl command line tool to inspect a POST request.
The HTML ...
1
vote
1answer
289 views
Success/fail tests for cURL (don't execute second line if first line fails)
According to
Using "&&" is not effective for cURL submit form (don't execute second line if first line fails)
In below code; first line is curl submit; second line is for ...
2
votes
2answers
214 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 ...