Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
489 views

I am making a POST to a client authentication endpoint with an encoded auth header and I receive Unsupported grant type exception. Speaking with the client, they say that the request Body should be '...
Auroops's user avatar
  • 43
0 votes
1 answer
835 views

ASP.Net Core Web API Call Thirds party API fails intermittently. The following exception raises intermittently when load test with postman. "Call failed with status code 500 (Internal Server ...
user3497702's user avatar
0 votes
0 answers
58 views

I'm using Flurl to connect to an API site, I need to do a Post and Put to create a new record and update, I have two different functions for each operation, this is one Public Async Function ...
Claus Fuss's user avatar
0 votes
2 answers
1k views

While writing a class to download images from a server in parallel (employing a consumer/producer pattern backed by the DataFlow TPL library), using an ActionBlock and Flurl.Http facility method ...
Loudenvier's user avatar
  • 8,894
3 votes
1 answer
676 views

Let's say I have a simple service that's registered as a Transient in Startup, and I use Flurl like so: public async Task DoStuff() { string url = "some valid Url"; await ...
broke's user avatar
  • 8,342
1 vote
0 answers
908 views

I'm using the Polly along with Flurl to perform GET and POST operations to a variety of endpoints. One of the operations that is done is a POST to ElasticSearch. We have serveral ES clusters, and what ...
Marc Bernier's user avatar
  • 3,006
0 votes
1 answer
660 views

I am struggeling with Flurl.Http to verify the response text of a GetAsync() request. My code: var resp = await "https://.../version" .GetAsync(); Assert.Equal(200, resp....
ravipi4764's user avatar
2 votes
1 answer
198 views

When using IObservable.LastAsync() to force my console app to wait on the result of an API call using Flurl, that API call is never made and the main thread deadlocks and never returns from LastAsync()...
void.pointer's user avatar
  • 26.7k
1 vote
1 answer
472 views

I have an endpoint defined like this: [HttpPost] public async Task<ActionResult> Post( ... [FromForm] IFormFileCollection images) { } Posting using PostMultipartAsync works well for individual ...
Kyle M's user avatar
  • 23
2 votes
1 answer
774 views

I am developing a sort of middleware API, which is meant to connect to various systems. I am using the Flurl library to make requests to the individual systems. One of these systems sometimes returns ...
thebugsdontwork's user avatar
0 votes
0 answers
23 views

I'm a big fan of HttpClient, especially the Flurl wrapper. However, I have the following problem. I access an API resource, where they limit the number of requests per IP per day. I thought of a ...
fullstackhero's user avatar
0 votes
0 answers
7k views

I wrote an .NET core API project that connects to the following URL using Flurl to pull the latest events for our organization: https://webapi.legistar.com/v1/myclient/Events?$filter=EventDate+ge+...
Michael Kniskern's user avatar
3 votes
1 answer
860 views

I have a .NET HostedService which uses dependency injection. My client factory creates a policy handler and in DI I configure Flurl to use the factory. In debug mode I can see that clients are ...
phil's user avatar
  • 2,299
1 vote
0 answers
467 views

How can a HttpConnection.ChunkedEncodingReadStream be stream directly to browser as PDF ?? PDF file can be as large as 200MB. In snippet below, ChunkedEncodingReadStream is saved to temp file first, ...
Lydon Ch's user avatar
  • 8,835
1 vote
1 answer
321 views

I'm trying to integrate Azure AD Authentication into a blazor WASM hosted app. I've got it working correctly with the default HTTP client, but I'd like to use Flurl. This is what I have with the ...
Dylan's user avatar
  • 1,128
0 votes
1 answer
274 views

Currently creating a Xamarin Mobile App which uses an ASP.NET Web API, however, I'm having issues de-serializing the data on the app side. I've tried a multitude of ways none of which I can get to ...
Sam Jordan's user avatar
0 votes
0 answers
198 views

In .net standard if Polly can be used with flurl? I'm trying to use Polly circuit breaker in .net standard project with flurl. I see in .net core ther is a way to use it. But with .net standard I'm ...
winadi's user avatar
  • 161
0 votes
1 answer
164 views

I am using the Flurl framework to call web service methods. One of this method returns a file content as a Stream using FileStreamActionResult as a return value of my web service. On the client side I ...
DUCOS's user avatar
  • 1
0 votes
1 answer
422 views

I am trying to add an agent to Flurl(Flurl.Http.2.4.2) request using the code below var url = new Url(downloadUrl); url.WithHeader("User-Agent", "MyAgent/1.9"); var response = ...
Tomas's user avatar
  • 18.2k
0 votes
1 answer
587 views

How to get a response cookie with flurl? I've searched for some references and studied on flurl.dev but still confused how to apply them. sorry I am not a programmer, I still have a lot to learn. ...
Crocodile's user avatar
2 votes
1 answer
1k views

I have a rest api with .net5, which has a global exception filter, and returns an ErrorMessage object in case of exceptions. I call the api from a WinForms .net framework 4.8 application and the ...
Fabian Wesling's user avatar
0 votes
1 answer
859 views

We use JSON:API specification on our API. Currently having issues with formatting the filter params to the specification using Flurl in C#. Example: var url = await Helpers.GetAPIPath() ...
yeowoh's user avatar
  • 143
0 votes
1 answer
211 views

I use ABP as a server and a mobile app in Xamarin Forms. In my Xamarin Forms I call through Flurl my api. My api throws a UserFriendlyException. It works well through swagger UI browser. But in my ...
dalton5's user avatar
  • 935
0 votes
2 answers
322 views

This is my first time asking a question. I've been trying to get this working for too long. I've looked over some similar posts but just can't quite crack it. I'm trying to make an API call in c# ...
Cornada_Inflictor's user avatar
2 votes
2 answers
970 views

So I'm a Ruby dev messing with C# and trying to figure out how to use Flurl with my endpoint. Here's the JSON I can pass successfully with Ruby. { type: "workorder.generated", data:...
yeowoh's user avatar
  • 143