Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Make this toolkit/adapter more versatile and available for ASP.NET/web tools.

Đang mở
#134 1 bình luận 0 reaction 1 người được giao Xem trên GitHub

@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ả

type:feature
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

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của BHoM/HTTP_Toolkit

Tất cả issue của BHoM/HTTP_Toolkit

Issue tương tự

Thêm issue về C#

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.