An open API service indexing awesome lists of open source software.

https://github.com/fmglib/fmglib.httpclienthelper

It is a library that offers you dynamism for the HttpClient service and contains methods that parse the returned response to the model you want.
https://github.com/fmglib/fmglib.httpclienthelper

Last synced: 2 months ago
JSON representation

It is a library that offers you dynamism for the HttpClient service and contains methods that parse the returned response to the model you want.

Awesome Lists containing this project

README

          

```csharp
builder.Services.AddFmgLibHttpClient(); // OR
builder.Services
.AddFmgLibHttpClient(() =>
{
JsonSerializerOptions options = new JsonSerializerOptions();
options.PropertyNameCaseInsensitive = true;

return options;
});
```

```csharp
User user = await HttpClientHelper.SendAsync("REUQEST_URL", HttpMethod.Post, jsonRequestContent, ClientContentType.Json);
```