loresoft / fluentrest Goto Github PK
View Code? Open in Web Editor NEWLightweight fluent wrapper over HttpClient to make REST calls easier
License: MIT License
Lightweight fluent wrapper over HttpClient to make REST calls easier
License: MIT License
Description:
User agent information provided through the DefaultRequestHeaders.UserAgent property gets dismissed and replaced with FluentRest's User agent information.
Platform: .NET Core 3.1
i like this lib,when use json string to post , I want to how to do?
Myget is completely down and latest packages haven't been pushed to nuget. Can we make nuget the default provider and push existing releases? It seems like myget is dead...
https://www.reddit.com/r/dotnet/comments/159yigd/is_myget_gone_for_good/
https://status.myget.org/
cc @pwelter34
Hi
How would you recommend handling a response error with Automatic deserialization of responses?
Thanks in advance.
Love the project!
Hi,
I have a little feature request, currently the library when calling the internal EnsureSuccessStatusCode, it throws an HttpRequestException with the Response content string in the Data dictionary and the code in the error message. Is there a reason why wouldn't you just create a custom HttpRequestException that exposes both fields?
This issue is used in an automated unit test. Please ignore.
Is there any specific reason we are doing this:
FluentRest/src/FluentRest/UrlBuilder.cs
Line 629 in 7b58509
It's currently possible to send in the content data and type but not the content-length or content-encoding. Could we expose this so we can properly send in gzipped content.
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Encoding
I need to encode in C # the following:
POST https://pepep.test.com/apiAuthV1/auth HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: application/x-www-form-urlencoded
Authorization: Basic Y1QwcDF5clRBZehstrhjfufk77878SZzE4RERXN1lBS2hJU1R6ZzVpUHc=
grant_type=password&username=argentina&password=1234567
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.