{"id":14990013,"url":"https://github.com/mercury13/curl4delphi","last_synced_at":"2025-06-10T11:35:36.213Z","repository":{"id":27088131,"uuid":"30555159","full_name":"Mercury13/curl4delphi","owner":"Mercury13","description":"A little libcURL binding for Delphi XE2+. Supports “easy” interface only. See wiki for more documentation.","archived":false,"fork":false,"pushed_at":"2021-07-10T19:54:45.000Z","size":289,"stargazers_count":74,"open_issues_count":13,"forks_count":23,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-04-19T10:22:32.805Z","etag":null,"topics":["curl-library","delphi-xe","libcurl","network-protocols"],"latest_commit_sha":null,"homepage":"","language":"Pascal","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Mercury13.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-09T19:54:02.000Z","updated_at":"2024-11-14T00:49:22.000Z","dependencies_parsed_at":"2022-09-02T04:50:22.460Z","dependency_job_id":null,"html_url":"https://github.com/Mercury13/curl4delphi","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mercury13%2Fcurl4delphi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mercury13%2Fcurl4delphi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mercury13%2Fcurl4delphi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mercury13%2Fcurl4delphi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mercury13","download_url":"https://codeload.github.com/Mercury13/curl4delphi/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mercury13%2Fcurl4delphi/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259067829,"owners_count":22800402,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["curl-library","delphi-xe","libcurl","network-protocols"],"created_at":"2024-09-24T14:19:19.823Z","updated_at":"2025-06-10T11:35:36.187Z","avatar_url":"https://github.com/Mercury13.png","language":"Pascal","funding_links":[],"categories":[],"sub_categories":[],"readme":"﻿About curl4delphi\n=================\n\ncurl4delphi is a simple Delphi XE2+ binding for libcURL.\n\n© 2015–2017 Mikhail Merkuryev\n\nMy initial version supports “easy” interface only.\n\n\nNote from developer\n===================\n\nVersion 0.3 “Tokyo” is out! It is much easier than 0.2.\n\nCheck it now, though you can face some incompatibilities with older versions. But I think they are easy to overcome, nothing was changed radically.\n\n\nQuick start\n===========\n\n1. Add files `Curl.Lib`, `Curl.Easy`, `Curl.Interfaces` to your project.\n2. Write such a piece of code.\n\n```\nvar\n  curl : ICurl;\n\ncurl := CurlGet;\ncurl.SetUrl('http://example.com')\n    .SetProxyFromIe\n    .SetUserAgent(ChromeUserAgent)\n    .SwitchRecvToString\n    .Perform;\nWriteln(curl.ResponseBody);\n```\n\n[To use streams for receiving, check `EasyHttp\\StreamedDl`].\n\n\nExamples\n========\n\n### Misc\\Version\n\nShows version\n\n### RawHttp\\Readme\n\nBasic HTTP GET, same as written above.\n\n### RawHttp\\Simple, EasyHttp\\Simple\n\nRedirection, basic HTTP GET, GetInfo\n\n### RawHttp\\Https, EasyHttp\\Https\n\nRedirection, basic HTTPS support, CA files, Unicode in file names.\n\n**Warning:** download a CA file such as cacert.pem.\n\n### EasyHttp\\StreamedDl\n\nDownloading to Delphi TStream’s.\n\n### EasyHttp\\FileDownloader\n\nA GUI file downloader. This example is rather complex because of multithreading and `Content-Disposition`. We do as most browsers do: request headers, then start writing to temporary file and simultaneously ask where to save it on HDD.\n\nInter-thread communication, transfer function, quick-and-dirty header parsing.\n\n### RawHttp\\AplusB_Post, EasyHttp\\AplusB_Post\n\nA simple form demo. Please copy `php_curl` directory to a PHP-capable web server.\n\nForms (one field is set in a simple way, the other in more complex one).\n\n### EasyHttp\\PhotoInfo\n\nFile uploading: disk file (2 ways), memory buffer, stream.\n\nICurl cloning demo (not particularly good, it is more an illustration that Clone works).\n\nPlease copy `php_curl` directory to a PHP-capable web server.\n\n### EasyHttp\\AplusB_Get\n\nUsing ICurlGetBuilder to build a GET URL. Please copy `php_curl` directory to a PHP-capable web server.\n\n\nLicense\n=======\nMIT for library, public domain for examples.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmercury13%2Fcurl4delphi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmercury13%2Fcurl4delphi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmercury13%2Fcurl4delphi/lists"}