Skip to content

discussions Search Results · language:Edge language:Python language:JavaScript language:JavaScript is:public

3.8M results  (120 ms)

3.8M results

The language qualifier is not supported when searching discussions. Try searching for repositories instead?

Hello, I am using Refit in a shared library and was wondering if it is possible to wrap ApiException and ValidationApiException so that users of the library don t need to know that Refit is being used ...

Hi, I would like to change the base address on particular api endpoints that have been injected with a refit service. Is this posssilbe, or can I only do it when Getting a required service? app.MapGet( ...

if my request is suchs as: { productId :123, type:0 } . the post cant not transfer type value. but I change it to public int ? Type { get; set; } ,the request is ok. Thanks for helping me out.this is ...

Hi, https://github.com/reactiveui/refit/security/advisories/GHSA-3hxg-fxwm-8gf7 does not exactly mention the [Headers] Attribute, but the [HeaderCollection]. Is it correct, that the [Headers]-Attribute ...

Hi, I m using refit to call a Web API. My Web Api doesn t throw exceptions but handles Validation, Not founds, already exists, etc... with Result objects (I m using the library Fluent Results btw). My ...

Hello, Is there any way, to get HttpRequestMessage and check if it contains a specific header for instance UserAgent? I would like to cover my code by the test to be sure that the sent UserAgent value ...

I m having trouble figuring out how to get this working: I have the following endpoint configured: [Post( /create )] Task ApiResponse EntityIdDto Create([Body(BodySerializationMethod.UrlEncoded)] Dictionary ...

I had it running very well in.Net 8 Maui and ported to the new Net 9 and it swallows the response... I upgraded to Refit 8 but still have got the same problem. It goes to the interface as follows: global::System.Threading.Tasks.Task ...

I am trying to invoke Multipart POST endpoint using refit that expects dictionary data. [HttpPost] [Consumes( multipart/form-data )] public async Task IActionResult CreateAndUploadDocument([FromForm] ...

I don t have very special code at all: public sealed record GetSyncRequest( [property: AliasAs( filter )] string? Filter = null, [property: AliasAs( full_state )] bool FullState = false, [property: ...