{"id":15060927,"url":"https://github.com/fsprojects/fshttp","last_synced_at":"2026-04-04T04:01:40.914Z","repository":{"id":41080839,"uuid":"145749918","full_name":"fsprojects/FsHttp","owner":"fsprojects","description":"HTTP library for F#","archived":false,"fork":false,"pushed_at":"2025-05-05T08:03:51.000Z","size":3858,"stargazers_count":469,"open_issues_count":27,"forks_count":43,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-05-05T08:39:30.186Z","etag":null,"topics":["fsharp","http","http-client","rest","rest-client"],"latest_commit_sha":null,"homepage":"https://fsprojects.github.io/FsHttp/","language":"F#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fsprojects.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-08-22T18:53:00.000Z","updated_at":"2025-05-05T08:03:55.000Z","dependencies_parsed_at":"2023-10-25T13:51:50.050Z","dependency_job_id":"40006e0f-bbba-4ba3-b781-e2299e2e6b22","html_url":"https://github.com/fsprojects/FsHttp","commit_stats":{"total_commits":731,"total_committers":27,"mean_commits":"27.074074074074073","dds":0.6744186046511628,"last_synced_commit":"64c8448e99a60c756049084aa82ce05aad468c42"},"previous_names":["schlenkr/fshttp","ronaldschlenker/fshttp","fsprojects/fshttp"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fsprojects%2FFsHttp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fsprojects%2FFsHttp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fsprojects%2FFsHttp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fsprojects%2FFsHttp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fsprojects","download_url":"https://codeload.github.com/fsprojects/FsHttp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254374475,"owners_count":22060611,"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":["fsharp","http","http-client","rest","rest-client"],"created_at":"2024-09-24T23:06:41.517Z","updated_at":"2026-04-04T04:01:40.898Z","avatar_url":"https://github.com/fsprojects.png","language":"F#","readme":"**Support my Work**\n\nBuy a **PXL Clock** and help me create more videos like this!\nUse code **RONALD** for a **25€ discount**:\n\n[https://www.pxlclock.com/?ref=RONALD](https://www.pxlclock.com/?ref=RONALD)\n\nPXL Clock is a fun device, made with ❤️ - and it's programmable in an easy and quick way.\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.pxlclock.com/?ref=RONALD\"\u003e\n    \u003cimg width=\"842\" height=\"832\" alt=\"468354531-9b92c9d7-b20b-4316-8104-ac980fa449d5\" src=\"https://github.com/user-attachments/assets/0a5a495d-731b-4f65-ac8f-3719f9b9010a\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\nFind out more:\n\n- On the [PXL Clock Discord Server](https://discord.gg/KDbVdKQh5j)\n- check out the [PXL Clock Repo on GitHub](https://github.com/CuminAndPotato/PXL-Clock)\n- Visit the official [PXL Clock Store](https://www.pxlclock.com/?ref=RONALD)\n\n\u003cp align=\"center\"\u003e\n  \u003ch3\u003eJoin the PXL Clock Community on Discord\u003c/h3\u003e\n  \u003ca href=\"https://discord.gg/KDbVdKQh5j\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/Discord-Join%20Server-blue?style=flat-square\u0026logo=discord\" alt=\"Join Our Discord\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n---\n\n# FsHttp\n\n[![Build \u0026 Tests](https://github.com/schlenkr/FsHttp/actions/workflows/build-and-test.yml/badge.svg?branch=master)](https://github.com/schlenkr/FsHttp/actions/workflows/build-and-test.yml)\n[![NuGet](https://img.shields.io/nuget/v/FsHttp.svg?style=flat-square\u0026logo=nuget)](https://www.nuget.org/packages/FsHttp)\n[![NuGet Downloads](https://img.shields.io/nuget/dt/FsHttp.svg?style=flat-square)](https://www.nuget.org/packages/FsHttp)\n\n\u003cimg align=\"right\" width=\"200\" alt='logo' src='https://raw.githubusercontent.com/schlenkr/FsHttp/master/docs/img/logo_big.png' /\u003e\n\nFsHttp is a \"hackable HTTP client\" that offers a legible style for the basics while still affording full access to the underlying HTTP representations for covering unusual cases. It's the best of both worlds: **Convenience and Flexibility**.\n\n* Use it as a replacement for `.http` files, *VSCode's REST client*, *Postman*, and other tools as an **interactive and programmable playground** for HTTP requests.\n* Usable as a **production-ready HTTP client** for applications powered by .NET (C#, VB, F#).\n\n👍 Postman? ❤️ FsHttp! https://youtu.be/F508wQu7ET0\n\n---\n\n## Documentation\n\n* 📖 Please see [FsHttp Documentation](https://fsprojects.github.io/FsHttp) site for detailed documentation.\n* 🧪 In addition, have a look at the [Integration Tests](https://github.com/schlenkr/FsHttp/tree/master/src/Tests) that show various library details.\n\n### F# syntax example\n\n```fsharp\n#r \"nuget: FsHttp\"\n\nopen FsHttp\n\nhttp {\n    POST \"https://reqres.in/api/users\"\n    CacheControl \"no-cache\"\n    body\n    jsonSerialize\n        {|\n            name = \"morpheus\"\n            job = \"leader\"\n        |}\n}\n|\u003e Request.send\n```\n\n### C# syntax example\n\n```csharp\n#r \"nuget: FsHttp\"\n\nusing FsHttp;\n\nawait Http\n    .Post(\"https://reqres.in/api/users\")\n    .CacheControl(\"no-cache\")\n    .Body()\n    .JsonSerialize(new\n        {\n            name = \"morpheus\",\n            job = \"leader\"\n        }\n    )\n    .SendAsync();\n```\n\n### FSI / Non-FSI Scenarios\n\nAs this is a recurring issue:\n\nFsHttp emits console logs per default. They can be disabled by putting this line before any request is made:\n\n```fsharp\nFsHttp.Fsi.disableDebugLogs ()\n```\n\n\n### Release Notes / Migrating to new versions\n\n* See https://www.nuget.org/packages/FsHttp#release-body-tab\n* For different upgrade paths, please read the [Migrations docs section](https://schlenkr.github.io/FsHttp/Release_Notes.html).\n\n## Building\n\n**.Net SDK:**\n\nYou need to have a recent .NET SDK installed, which is specified in `./global.json`.\n\n**Build Tasks**\n\nThere is a F# build script (`./build.fsx`) that can be used to perform several build tasks from command line.\n\nFor common tasks, there are bash scripts located in the repo root:\n\n* `./test.sh`: Runs all tests (sources in `./src/Tests`).\n  * You can pass args to this task. E.g. for executing only some tests:\n    `./test.sh --filter Name~'Response Decompression'`\n* `./docu.sh`: Rebuilds the FsHttp documentation site (sources in `./src/docs`).\n* `./docu-watch.sh`: Run it if you are working on the documentation sources, and want to see the result in a browser.\n* `./publish.sh`: Publishes all packages (FsHttp and it's integration packages for Newtonsoft and FSharp.Data) to NuGet.\n  * Always have a look at `./src/Directory.Build.props` and keep the file up-to-date.\n\n## Credits\n\n* Parts of the code were taken from the [HTTP utilities of FSharp.Data](https://fsprojects.github.io/FSharp.Data/library/Http.html).\n* Credits to all critics, supporters, contributors, promoters, users, and friends.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffsprojects%2Ffshttp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffsprojects%2Ffshttp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffsprojects%2Ffshttp/lists"}