We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The header in the axios request interceptor cannot be obtained through the object dot syntax
No response
let headers = Object.keys(config.headers) //config.headers -》interceptors.request.use headers.forEach((key)=>{ console.log(config.headers[key]); })
Get the value of Content-Type "applicat/json"
1.6.7
chrome
121
21
windows11
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
The header in the axios request interceptor cannot be obtained through the object dot syntax
To Reproduce
No response
Code snippet
Expected behavior
Get the value of Content-Type "applicat/json"
Axios Version
1.6.7
Adapter Version
No response
Browser
chrome
Browser Version
121
Node.js Version
21
OS
windows11
Additional Library Versions
No response
Additional context/Screenshots
No response
The text was updated successfully, but these errors were encountered: