curl4delphi
curl4delphi copied to clipboard
A little libcURL binding for Delphi XE2+. Supports “easy” interface only. See wiki for more documentation.
Hello, Can you help me about following command curl -vs -H "Accept-Language: bg" -H "Accept: application/json" --user a@b:12345 https://app.prolet.org/steps-beta/clients/generic/import.do -X POST -d "source_post_code=1000" -d "target_post_code=6000" -d "weight=1" -d "paidOnDelivery=true" -d...
http://127.0.0.1:1880/GetFile.asp?xh=1001,像这样的地址不支持跳转!
Hi, I have been using your library happily to use curl with delphi. I ran into a few issues when using SMTP and attachments. 1) Function curl_mime_type. Your function requires...
```pascal curl := CurlGet; curl.SetUrl('https://empacser.now.sh/api/sync_proxy') .SetCustomHeaders( CurlGetSlist .AddRaw('Content-type: application/json') .AddRaw('Accept: */*') ) .SetProxyFromIe .SetOpt(CURLOPT_POST, true) .SetOpt(CURLOPT_POSTFIELDS, TEncoding.UTF8.GetBytes('{"xyz": 10}')) .SetCaFile('curl-ca-bundle.crt') .SetUserAgent(ChromeUserAgent) .SwitchRecvToString .Perform; ```
Just to make it more fool-proof.
Trust me, it works (curl4delphi started as a wrapper for a REST service I may not tell you about). But I’d like to make a demo.