Skip to main content
Filter by
Sorted by
Tagged with
5 votes
1 answer
5k views

I am in need to post the following request: POST http://target-host.com/some/endpoint HTTP/1.1 Content-Type: multipart/form-data; boundary="2e3956ac-de47-4cad-90df-05199a7c1f53" Accept-Encoding: gzip,...
aignas's user avatar
  • 1,074
0 votes
1 answer
2k views

Update: HttpTest is not thread-safe, as per the project's GitHub issue. Until the issue is resolved, tests using HttpTest cannot be run in parallel. I have a really weird pair of test utilizing Flurl ...
batrand's user avatar
  • 146
1 vote
1 answer
1k views

when I try to execute: using (var fc = new FlurlClient().EnableCookies()) { var resp = "http://somesite.com".GetAsync(); // var getResp = await ...
FabianSilva's user avatar
1 vote
1 answer
499 views

I'm trying to post simple request using Flurl. But there is an exception, because takenPicture string is too large. Is there any way to post large string using Flurl? System.UriFormatException: Uri ...
Valeriy Prisyazniy's user avatar
0 votes
1 answer
3k views

Hi I'm trying to post an object that is like : public class myobj { public string name {get;set;} public myEntity myentity {get;set;} public mySecondEntity mySecondEntity {get;set;} } public ...
user1012500's user avatar
  • 1,667
0 votes
1 answer
1k views

using Flurl.Http; dataMapperSurvey = "url" var responseJString = await dataMapperSurvey.WithHeader("AUTH_TOKEN", "335351").GetStringAsync(); Here I'm try to hit the url with that specific Auth_token ...
Hemant-Webo's user avatar
1 vote
2 answers
3k views

I have a class that is posting to an API which is working in my unit tests but not my MVC controller. In the tester the following line works just fine but when call it in my MVC application I cannot ...
Aaron's user avatar
  • 1,052
0 votes
1 answer
4k views

I would like to know how to add a content header to a flurl-statement. The onedrive implementation requires me to add a content-type header to the content, and tried every possible solution with no ...
Ismail Hassani's user avatar
3 votes
5 answers
8k views

FlUrl does a great job in dealing with Json/UrlEncoded requests. However, the documentation doesn't really point out how to handle other request types such as text/xml. What's the best way to do an ...
Mrchief's user avatar
  • 76.4k
0 votes
2 answers
4k views

I'm using the Furl.Http wrapper over the .NET Http Client. With each request my API requires a User-Agent and an Authorization header to be sent. I would like to set that up once, rather than ...
Ralph Shillington's user avatar
9 votes
3 answers
6k views

I am making an application where a client does requests to a server. The server is written in node.js and the client in .NET using flurl.Http. When a request on the server fails, it is always usefull ...
Cerebres's user avatar
  • 363

1 2 3 4 5
6