Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
44 views

I am using Aspire and have two services, we'll call them api, and mockapi. I have the two setup as follows with Aspire var mockapi = builder.AddProject<Projects.MockApi>("mockapi"); ...
Chris Brown's user avatar
0 votes
0 answers
29 views

I am using MSAL to acquire a token from AzureAD, and then I will use this token for every FlUrl call. To keep the MSAL token auto-refresh working, I need to call MSAL's AcquireToken before every FlUrl ...
Karel Kral's user avatar
  • 5,514
0 votes
0 answers
47 views

I have a very complex solution, written in C#/.NET 6, composed by Azure Service Triggers that use an API running as an Azure HTTP Trigger. There are 4 trigger function, each running up to 30 parallel ...
Jose Luiz Berg's user avatar
0 votes
1 answer
97 views

If I'm using the short-form fluent APIs of flurl ("some-url/whatever".GetAsync()), how do I explicitly configure the HttpClient per-host? I've looked at the documentation, but ...
Alexander Trauzzi's user avatar
0 votes
1 answer
82 views

I'm using ASP.NET Core and Flurl to write a reverse proxy that sends requests to one destination server, another server, or both, depending on how the reverse proxy is configured at runtime. I want ...
jason44107's user avatar
0 votes
1 answer
119 views

Flurl.Http sends in every Request the following Header: Accept-Encoding: gzip, deflate This behaviour is since Update to Version 4. I would contact API, which returns Error 406 when i send a request ...
mavo1848's user avatar
0 votes
1 answer
87 views

I'm quite new to Json files and Blazor, and I was trying to deserialize a Json string, but when I try to fill a list with objects obtained via deserializer the list is full of null objects. I'm also ...
Michelle's user avatar
0 votes
2 answers
281 views

Flurl documentation says that the recommended approach for Flurl clients using DI is to utilize this registration pattern: // at service registration: services.AddSingleton<IFlurlClientCache>(sp ...
Nikolay Badin's user avatar
0 votes
0 answers
394 views

What we have implemented currently is something like this: https://v3.flurl.dev/docs/configuration/#httpclientfactory with the CustomHttpClientFactory being a BearerTokenManagingHttpClientFactory ...
Rama Rahul's user avatar
2 votes
1 answer
2k views

Referencing Flurl Serializers it shows that Flurl 4.0 can use the Newtonsoft based serializer, but it is not clear to me how to do this for a single request. I need this to address a circular loop ...
azpc's user avatar
  • 710
-1 votes
1 answer
142 views

I am working with the Audiocodes SBC API which returns for example when no Alarms are available a 204 as response. This leads to FLurl GetJsonAsync request returning null. The problem now is how would ...
acskr's user avatar
  • 11
1 vote
1 answer
784 views

In FlUrl version 3.X, I have been working with my REST Api in this way: I have the singleton instance _noAuthClient. With this client, I make a Login call to Rest Api, which returns JWT token. Then I ...
Karel Kral's user avatar
  • 5,514
0 votes
1 answer
172 views

I am trying to write a Flurl HTTP request that will be executed at a later time. Here is what I would like to do (C# code): public async void SomeFunction(string url, object someJson, object ...
Librapulpfiction's user avatar
0 votes
1 answer
546 views

I am dealing with an issue regarding redirecting in server controller in hosted Blazor WebAssembly project. As an example, I modified default WeatherForecastController to redirect one endpoint to ...
Bugmaster's user avatar
0 votes
0 answers
468 views

I have a C# application that communicates with an API. I'm encountering a timeout issue when making requests to the API. The specific error message I'm receiving is: ---> Flurl.Http....
Julian Gr's user avatar
  • 133
1 vote
1 answer
188 views

I want to use Flurl to query lyricsify.com but I always get an empty string as result. With Insomnia, Powershell and other tools, I get the HTML response as expected. [Fact] public async void ...
mihca's user avatar
  • 1,277
0 votes
1 answer
313 views

I would like to replicate the following curl request where I pass in multiple form parameters with the same key, but using flurl in C#. curl -X POST \ https://example.com \ --data "...
Luke's user avatar
  • 23.8k
0 votes
0 answers
278 views

We are using Flurl to upload many files at once in our Web API app (.net 6). Usually, from 20 to 30 simultaneous uploads are executed. I am trying to manage Flurl instances explicitly and use IoC. The ...
Tomas's user avatar
  • 18.2k
-1 votes
2 answers
164 views

Hey im working on a litle project right now and i need to turn a list of json string into List<TaskStruct.cs> I have included all the needed code if something is missing let me know! im getting ...
xVice1337's user avatar
0 votes
0 answers
670 views

In an api demo, WebClient authenticates correctly when set like this client.Headers["authorization"] = $"Basic Njk4NzYzNTc6dGVzdHBhc3N3b33JkX0RFTU9QUklWQVRFS0VZMjNHNDQ3NXpYWlEyVUE1eDdN&...
Vague's user avatar
  • 2,280
0 votes
0 answers
306 views

Good moring Team, Since yersterday im trying to post an API using Flurl but im still getting this error and the post code block is not executed, i dont know where should be the issue. bellow is my ...
Sylla's user avatar
  • 77
0 votes
1 answer
683 views

Is there a recommended way of defining a proxy for flurl clients based on the URL (or base URL)? I could not find anything in the documentation and discussions of the topic I did find (such as Setting ...
Alek Davis's user avatar
  • 10.8k
0 votes
0 answers
270 views

My task is to download a .txt file, remove some of the data and save it as .json. Currently I use one interface to download a file as .txt file and another interface to read all lines of said file, ...
Drinkbeergetmoney's user avatar
0 votes
3 answers
941 views

I have a question on how to test / mock out the IFlurlClientFactory and IFlurlClient. I'm registering my service (as a singleton eventually via DI), which uses the IFlurlClientFactory in a following ...
Tom's user avatar
  • 88
0 votes
1 answer
364 views

How to close the connection asap when requests finish? Does Flurl close connection automatically on FlurResponse Dispose? var fileContent = new FileContent("myfile"); using (var result = ...
Tomas's user avatar
  • 18.2k

1
2 3 4 5 6