Documentation Last updated 11 Nov 2024

FmgLib.HttpClientHelper

Structured reference for setup, migration notes, API concepts and implementation examples.

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

            return options;
        });
User user = await HttpClientHelper.SendAsync<User>("REUQEST_URL", HttpMethod.Post, jsonRequestContent, ClientContentType.Json);

Related docs

Want to use this library in your product?

Plan a technical discovery call with Vodisoft for setup, architecture decisions or custom integration.

Get Technical Support