{"id":18982401,"url":"https://github.com/dimitrietataru/csharp-api-request","last_synced_at":"2025-10-24T08:20:31.837Z","repository":{"id":56254789,"uuid":"282854332","full_name":"dimitrietataru/csharp-api-request","owner":"dimitrietataru","description":"C# API Request","archived":false,"fork":false,"pushed_at":"2020-11-18T09:10:56.000Z","size":188,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-04-29T08:11:31.365Z","etag":null,"topics":["api-request","csharp","delete","dot-net-core","dot-net-core-web-api","get","httpclient","httpclientfactory","net-5","net-core-3-1","patch","post","put"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dimitrietataru.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-07-27T09:40:39.000Z","updated_at":"2022-11-08T14:21:15.000Z","dependencies_parsed_at":"2022-08-15T15:31:18.618Z","dependency_job_id":null,"html_url":"https://github.com/dimitrietataru/csharp-api-request","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimitrietataru%2Fcsharp-api-request","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimitrietataru%2Fcsharp-api-request/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimitrietataru%2Fcsharp-api-request/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimitrietataru%2Fcsharp-api-request/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dimitrietataru","download_url":"https://codeload.github.com/dimitrietataru/csharp-api-request/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223713507,"owners_count":17190498,"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":["api-request","csharp","delete","dot-net-core","dot-net-core-web-api","get","httpclient","httpclientfactory","net-5","net-core-3-1","patch","post","put"],"created_at":"2024-11-08T16:13:23.000Z","updated_at":"2025-10-24T08:20:31.773Z","avatar_url":"https://github.com/dimitrietataru.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# C# API Request\n\n## Install\n``` powershell\nPM\u003e Install-Package Microsoft.AspNet.WebApi.Client -Version 5.2.7\nPM\u003e Install-Package Microsoft.Extensions.DependencyInjection.Abstractions -Version 5.0.0\nPM\u003e Install-Package Microsoft.Extensions.Http -Version 5.0.0\n```\n\n## APIs\n| API | HTTPS port | HTTP port |\n|:---:|:---:|:---:|\n| Foo API | 42000 | 42001 |\n| Bar API | 43000 | 43001 |\n\n## Test endpoints\n| Route | HttpVerb | Requires Body | Has Response | Status Code |\n|:---|:---:|:---:|:---:|:---|\n| api/v1/bar/get-with-response | GET | | ✓ | 200 (OK) |\n| api/v1/bar/get-without-response | GET | | | 204 (No Content) |\n| api/v1/bar/post-with-body-and-with-response | POST | ✓ | ✓ |  200 (OK) |\n| api/v1/bar/post-with-body-and-without-response | POST | ✓ | | 204 (No Content) |\n| api/v1/bar/post-without-body-and-with-response | POST | | ✓ | 200 (OK) |\n| api/v1/bar/post-without-body-and-without-response | POST | | | 204 (No Content) |\n| api/v1/bar/put-with-body-and-with-response | PUT | ✓ | ✓ |  200 (OK) |\n| api/v1/bar/put-with-body-and-without-response | PUT | ✓ | | 204 (No Content) |\n| api/v1/bar/put-without-body-and-with-response | PUT | | ✓ | 200 (OK) |\n| api/v1/bar/put-without-body-and-without-response | PUT | | | 204 (No Content) |\n| api/v1/bar/patch-with-body-and-with-response | PATCH | ✓ | ✓ |  200 (OK) |\n| api/v1/bar/patch-with-body-and-without-response | PATCH | ✓ | | 204 (No Content) |\n| api/v1/bar/patch-without-body-and-with-response | PATCH | | ✓ | 200 (OK) |\n| api/v1/bar/patch-without-body-and-without-response | PATCH | | | 204 (No Content) |\n| api/v1/bar/delete-with-response | DELETE | | ✓ | 200 (OK) |\n| api/v1/bar/delete-without-response | DELETE | | | 204 (No Content) |\n| api/v1/foo/get-with-response | GET | | ✓ | 200 (OK) |\n| api/v1/foo/get-without-response | GET | | | 204 (No Content) |\n| api/v1/foo/post-with-body-and-with-response | POST | ✓ | ✓ |  200 (OK) |\n| api/v1/foo/post-with-body-and-without-response | POST | ✓ | | 204 (No Content) |\n| api/v1/foo/post-without-body-and-with-response | POST | | ✓ | 200 (OK) |\n| api/v1/foo/post-without-body-and-without-response | POST | | | 204 (No Content) |\n| api/v1/foo/put-with-body-and-with-response | PUT | ✓ | ✓ |  200 (OK) |\n| api/v1/foo/put-with-body-and-without-response | PUT | ✓ | | 204 (No Content) |\n| api/v1/foo/put-without-body-and-with-response | PUT | | ✓ | 200 (OK) |\n| api/v1/foo/put-without-body-and-without-response | PUT | | | 204 (No Content) |\n| api/v1/foo/patch-with-body-and-with-response | PATCH | ✓ | ✓ |  200 (OK) |\n| api/v1/foo/patch-with-body-and-without-response | PATCH | ✓ | | 204 (No Content) |\n| api/v1/foo/patch-without-body-and-with-response | PATCH | | ✓ | 200 (OK) |\n| api/v1/foo/patch-without-body-and-without-response | PATCH | | | 204 (No Content) |\n| api/v1/foo/delete-with-response | DELETE | | ✓ | 200 (OK) |\n| api/v1/foo/delete-without-response | DELETE | | | 204 (No Content) |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimitrietataru%2Fcsharp-api-request","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdimitrietataru%2Fcsharp-api-request","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimitrietataru%2Fcsharp-api-request/lists"}