07-13-2012
If you don't have curl and don't have wget, you'll probably have to install something.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
I try to take out of the command curl the info of the time...
time curl --write \"Downloaded %{time total}\" -o ......
but having some problem. (1 Reply)
Discussion started by: protocomm
1 Replies
2. UNIX for Dummies Questions & Answers
I can't quite seem to understand what the curl command does with a web address. I tried this:
curl O'Reilly Media: Tech Books, Conferences, Courses, News
but I just got the first few lines of a web page, and it's nowhere on my machine. Can someone elaborate? (2 Replies)
Discussion started by: Straitsfan
2 Replies
3. Shell Programming and Scripting
Hi,
I am using linux curl command to login to the website. Website is using http protocol. My question is how to protect "username and password" while posting the data to the website to avoid man in the middle attack.
Is posting the sensitive data(password) using curl is secure?.
Is digest... (6 Replies)
Discussion started by: Anjan1
6 Replies
4. Shell Programming and Scripting
Can any one confirm that posting username and password using curl command to "https" site is secure or not.
Thanks, (1 Reply)
Discussion started by: Anjan1
1 Replies
5. Shell Programming and Scripting
I need to compare 2 files. I need to see if 1 file has records that are not in a second file. I did some searching and found the 'comm' command. According to the man pages
comm -23 test1.txt test2.txt
Will tell me what is in file 1 and not in file 2. So I did a simple test
test1.txt has the... (3 Replies)
Discussion started by: guessingo
3 Replies
6. Shell Programming and Scripting
HI I am trying to write a script where i can enter a dvd's bar code at the cli and return the price sites will pay for the dvd.
the bard code im using for testing is
this site is
through use of httpfox i have found some info whic i need to use with curl
ctl00$ScriptManager1... (4 Replies)
Discussion started by: dunryc
4 Replies
7. Shell Programming and Scripting
Hi All,
I am using below curl commad and getting output data correctly
curl -k -u AASSDD:PPOOII -d "output_mode=csv" --data-urlencode search='search source=*/AASSDDFF/PPOOLLKK**/94.0*ASD-RST* "Caused by" OR "Error: LISTENER WILL BE DISABLED" OR java.lang.reflect.InvocationTargetException |... (1 Reply)
Discussion started by: rakeshtomar82
1 Replies
8. Shell Programming and Scripting
I am trying post SOAP header from file to curl command.
The curl command is
curl -vk -H "$(cat curl-test1.txt)" -X POST https://xvcfvusdgfsd.sdfjd.gf/cmsws/CMSService
The contet of curl file is
POST: https://cmsuat.chrysler.com/cmsusws/CMSService HTTP/1.1
SOAPAction:... (1 Reply)
Discussion started by: dineshaila
1 Replies
9. Shell Programming and Scripting
is there a different way to do the following:
curl -k -H "Content-Type:application/json" -X POST -d'{"api_token": "33blah526c-6bla71-441b-491b-0blahca08"}' https://10.10.10.10/api/1.4/auth/session -c /tmp/myhost01.myhost.com
im seeking to use a different method because i'm running into TLS... (1 Reply)
Discussion started by: SkySmart
1 Replies
10. Web Development
Good afternnon. I need your help please to understand the basics of curl command to test web services.
Ive heard i can test a web service using this command,so:
curl http://glb_osb_fs.nh.inet:7110/serverglobal/services/StrategicPlanning/NotifyMNPAction_v1
it yields some errors, i would... (5 Replies)
Discussion started by: alexcol
5 Replies
LEARN ABOUT MOJAVE
curlopt_connecttimeout_ms
CURLOPT_CONNECTTIMEOUT_MS(3) curl_easy_setopt options CURLOPT_CONNECTTIMEOUT_MS(3)
NAME
CURLOPT_CONNECTTIMEOUT_MS - timeout for the connect phase
SYNOPSIS
#include <curl/curl.h>
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_CONNECTTIMEOUT_MS, long timeout);
DESCRIPTION
Pass a long. It should contain the maximum time in milliseconds that you allow the connection phase to the server to take. This only lim-
its the connection phase, it has no impact once it has connected. Set to zero to switch to the default built-in connection timeout - 300
seconds. See also the CURLOPT_TIMEOUT_MS(3) option.
In unix-like systems, this might cause signals to be used unless CURLOPT_NOSIGNAL(3) is set.
DEFAULT
300000
PROTOCOLS
All
EXAMPLE
CURL *curl = curl_easy_init();
if(curl) {
curl_easy_setopt(curl, CURLOPT_URL, "http://example.com");
/* complete connection within 10000 milliseconds */
curl_easy_setopt(curl, CURLOPT_CONNECTTIMEOUT_MS, 10000L);
curl_easy_perform(curl);
}
AVAILABILITY
Always
RETURN VALUE
Returns CURLE_OK
SEE ALSO
CURLOPT_TIMEOUT(3), CURLOPT_LOW_SPEED_LIMIT(3),
libcurl 7.54.0 February 14, 2016 CURLOPT_CONNECTTIMEOUT_MS(3)