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)
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)
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)
Hi,
I do not find curl command in HPUX.
I used to use curl command in solaris to download files onto the server using the below command.
/opt/boksm/lib/curl http://mymachine.net:9191/faci/TSDM\$dm-orbeon/artifact/my-ear.zip -o my-ear.zip
If not curl how can the same be achived... (4 Replies)
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)
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)
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)
Hi.
I 'm trying to hit a REST api and retrieve a JSON feed, and the URL has special characters in it.
Something like:
Example Domain
The below curl command is failing
curl -X GET https://www.example.com/?sample=name&id=1001
saying bad command at id=1001
I am going to use this as part... (3 Replies)
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 SUSE
curl_easy_unescape
curl_easy_unescape(3) libcurl Manual curl_easy_unescape(3)NAME
curl_easy_unescape - URL decodes the given string
SYNOPSIS
#include <curl/curl.h>
char *curl_easy_unescape( CURL *curl, char *url, int inlength , int *outlength );
DESCRIPTION
This function converts the given URL encoded input string to a "plain string" and returns that in an allocated memory area. All input char-
acters that are URL encoded (%XX where XX is a two-digit hexadecimal number) are converted to their binary versions.
If the length argument is set to 0 (zero), curl_easy_unescape(3) will use strlen() on the input url string to find out the size.
If outlength is non-NULL, the function will write the length of the returned string in the integer it points to. This allows an escaped
string containing %00 to still get used properly after unescaping.
You must curl_free(3) the returned string when you're done with it.
AVAILABILITY
Added in 7.15.4 and replaces the old curl_unescape(3) function.
RETURN VALUE
A pointer to a zero terminated string or NULL if it failed.
SEE ALSO curl_easy_escape(3), curl_free(3), RFC 2396
libcurl 7.15.4 7 April 2006 curl_easy_unescape(3)