Buy commercial curl support from WolfSSL. We help you work
out your issues, debug your libcurl applications, use the API, port to new
platforms, add new features and more. With a team lead by the curl founder
himself.
library command that simulates the cur cmdline
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Frigyes via curl-library <curl-library_at_lists.haxx.se>
Date: Wed, 2 Aug 2023 11:10:16 +0200
It occurs to me to have read that in the library there is a command that
simulates the cur cmdline command
so instead of:
curl.exe -k -S https://finanzonline.bmf.gv.at/fonws/ws/session -H
"Content-Type: text/xml;charset=UTF-8" -H "SOAPAction: login" -d _at_login.xml
with the library:
...
curl = curl_easy_init();
if (curl) {
curl_easy_setopt(curl, CURLOPT_CMD???, "-k -S
https://finanzonline.bmf.gv.at/fonws/ws/session -H \"Content-Type:
text/xml;charset=UTF-8\" -H \"SOAPAction: login\" -d _at_login.xml" );
res = curl_easy_perform(curl);
curl_easy_cleanup(curl);
}
...
gives the command or I just wished?
Regards
TIA
Frigyes
Date: Wed, 2 Aug 2023 11:10:16 +0200
It occurs to me to have read that in the library there is a command that
simulates the cur cmdline command
so instead of:
curl.exe -k -S https://finanzonline.bmf.gv.at/fonws/ws/session -H
"Content-Type: text/xml;charset=UTF-8" -H "SOAPAction: login" -d _at_login.xml
with the library:
...
curl = curl_easy_init();
if (curl) {
curl_easy_setopt(curl, CURLOPT_CMD???, "-k -S
https://finanzonline.bmf.gv.at/fonws/ws/session -H \"Content-Type:
text/xml;charset=UTF-8\" -H \"SOAPAction: login\" -d _at_login.xml" );
res = curl_easy_perform(curl);
curl_easy_cleanup(curl);
}
...
gives the command or I just wished?
Regards
TIA
Frigyes
-- Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library Etiquette: https://curl.se/mail/etiquette.htmlReceived on 2023-08-02