Comments (3)
I am not familiar with digest authentication. Similar to Bearer Token ?
You can intercept each request/response using Interceptor on your chopper client
final chopper = new ChopperClient(
interceptors: [
(request) async => request.replace(body: {}, headers: {}),
]
);
from chopper.
You can also try to use this package as an http client https://github.com/marcoesposito1988/http_auth
from chopper.
with above package
chopper = ChopperClient(
baseUrl: SERVER_ADDRESS,
client: DigestAuthClient(username, password),
services: [
ApiService.create()
],
);
this worked for me
from chopper.
Related Issues (20)
- Large auth token for header error for ChopperClient HOT 1
- Delete don't have request payload HOT 1
- Authenticator corrupts request body HOT 2
- Version 5.2.0 is a breaking change HOT 8
- Content-Type for JsonConverter request is case-sensitive causing applyingHeader to always override
- Flutter chopper generator converts body parameters from snake_case into camelCase HOT 7
- Connection refused not triggering error converter HOT 3
- chopper_built_value Does not support chopper ^6.0.0 HOT 2
- fileName cannot be provided with List<int> partFile. HOT 7
- _TypeError (type '_Map<String, dynamic>' is not a subtype of type 'Auth?') HOT 2
- How to send a request with case sensitive headers ? HOT 1
- Should we add a CODEOWNERS file? HOT 8
- Failing to pass List<Map<String, dynamic>> as queryparams HOT 3
- [Feature request] Custom error generic type please? HOT 1
- [Feature request] Sentry support HOT 2
- List<int> is not sent as string in multipart request. HOT 19
- 405 Method Not Allow HOT 1
- It's not possible to put generated files to a separate directory HOT 5
- [Question] Is there a way to cancel the request? HOT 1
- Cancel/Abort request HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chopper.