-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Headers are not able to add #49
Comments
Yes, there is a lack of documentation. Below solution is working for me
|
Thankyou for your response, I had solved the issue like : ` export const unregister = fetchIntercept.register({
}); |
I solved the issue like below in my RN App, `import fetchIntercept from 'fetch-intercept'; const fetchInterceptRegister = fetchIntercept.register({
}, requestError: function(error) { response: function(response) { responseError: function(error) { export default fetchInterceptRegister;` |
The issue is that it overrides existing headers, there is no way to happen to default fetch headers. |
This might be an issue with the lack of documentation. I am not able to add headers.
The text was updated successfully, but these errors were encountered: