Make this toolkit/adapter more versatile and available for ASP.NET/web tools.
@Tom-Kingstone đang làm issue này rồi.
Từ ngày 8/9/2026.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Description:
From my own experience developing web applications, it would be great if I didn't have to write a custom API client with its own BHoM serialiser/deserialiser every time I need to send BHoM objects to and from an API. For this purpose, the HTTP_Toolkit has potential to be useful, but it just isn't developed enough and doesn't allow enough direct customisation to be useful in many cases.
At least having both POST and GET (as push and pull) fully implemented would be a great start, and DELETE should be simple enough. It would also be necessary to have a constructor for the adapter that accepts an HTTP client that the adapter would use to make requests (as opposed to the current where new HTTP clients are created with each request) as some frameworks use HTTP client factories that set up clients in a specific way which isn't possible to use with this toolkit as it is.
Suggest possibly having custom config to allow choosing what form the response comes in (for instance I have in the past written POST endpoints which return a usable BHoM object response so at least that would need to be implemented as an option, or even as default if json response is detected).
- Ngôn ngữ chính
- C#
- Star
- 2
- Fork
- 1
- Merge trung bình
- 5 ngày 8 giờ
- Pull request đã merge (30 ngày)
- 2
Chuẩn bị môi trường
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của BHoM/HTTP_Toolkit
-
Upgrade project files to SDK-style format compatible with dotnetCó thể làm lại được @adecler đã nhận 223 ngày trước và không có pull request nào đang mở. Đang mởtype:compliance
BHoM/HTTP_Toolkit#123 · 1 người được giao ·
-
BatchRequest not working as expectedCó thể làm lại được @rolyhudson đã nhận 1832 ngày trước và không có pull request nào đang mở. Đang mởtype:bug
BHoM/HTTP_Toolkit#72 · 1 người được giao ·
-
HTTPConfig Support for Byte / String / Other Response Return typesCó thể làm lại được @epignatelli đã nhận 2251 ngày trước và không có pull request nào đang mở. Đang mởtype:feature
BHoM/HTTP_Toolkit#52 · 1 bình luận · 2 người được giao ·
-
HTTP GetRequest workflowĐang mởseverity:low type:compliance type:question
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
BHoM/HTTP_Toolkit#20 · 5 bình luận · 1 reaction ·
-
The number of responses resulting in the Pull is not of the expected length when using BatchRequestCó thể làm lại được @epignatelli đã nhận 2573 ngày trước và không có pull request nào đang mở. Đang mởtype:bug
BHoM/HTTP_Toolkit#13 · 2 bình luận · 1 người được giao ·
Tất cả issue của BHoM/HTTP_Toolkit
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
NethermindEth/nethermind#14012 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
dependencies Status: Triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
json-schema-org/website#2518 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
agentic-workflows
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
builtbybel/Flyoobe#498 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
builtbybel/CrapFixer#112 ·