score:11
Accepted answer
you can read this post: are http headers case-sensitive?
according to rfc 2616, http headers should be case-insensitive. so this is not the bug of the libraries you mention above. you should fix the server to treat token-api
and token-api
at the same way.
score:-4
you can actually solve this quite easily with another header:
sensitive: true
Source: stackoverflow.com
Related Query
- Header keys become lowercase when interacting with API - React native
- React native - objects are not valid as a React child (found: object with keys {$$typeof, type, key, ref, props, _owner, _store})
- How should the new context api work with React Native navigator?
- detect when another view is touched - dragging with PanResponder in react native
- Hide header on StackNavigator with React Navigation in React Native
- React Native app works when run from Xcode, but crashes when run with 'react-native run-ios'
- Request header not set as expected when using 'no-cors' mode with fetch API
- React query mutation: getting the response from the server with onError callback when the API call fails
- Update scrollview when keyboard is open with React Native
- How to scroll to text input on focus when there is an input accessory with React Native
- Refresh Screen A when goBack with React Native using Hooks
- How to setup sublime 3 with react native so that when you click on the error and it jump to your code?
- Getting duplicates when Incrementing & Decrementing using the Arrow keys with React JS
- Why is the 'www-authenticate' header missing from when I call api from React application?
- 404 Not Found error in preflight OPTIONS when executing a PUT method in CakePHP API with axios in React App
- How do I store and access my API keys with a React + Webpack app?
- React state created with useState doesn't update automatically when my API changes
- React form returns 404 not found when trying to sign up with Devise Rails API
- Cannot read properties of undefined error when working with an API in React
- X-Total-Count missing header error in React Admin with Spring Boot API
- Failed with code 405 when using axios to make a call to controller api in asp.net core react application
- Problem with component bound to an api with axios in React Native not rendering
- AWS API Gateway WebSocket API: how to use it with React / NodeJS / native WebSocket?
- React - Dealing with undefined state when mapping over an array of objects from API
- When to scrollIntoView in React with an API call
- Conditional rendering with React when api doesn't return image url
- Extracting data from json object from API with JavaScript React Native
- React JS: State become 'undefined' when working with useEffect
- I AM HAVING ERROR WHEN TRYING TO MAP A DATA IN REACT . Objects are not valid as a React child (found: object with keys {children}), How do i solve it?
- $_SESSION is empty when calling an api rendered with React
More Query from same tag
- Reactjs getting a state value from a child component
- React prettifying URLs
- Dynamically Loading Local Images with ReactJS
- React-Redux: Post action fails with a 500 error
- How to invalidateQueries with JWT Tokens in the Context?
- Yup and react-hook-form: how to create conditional mandatory fields in a form?
- How to prevent right mouse button click onMouseDown() react js?
- display warning message after verifying condition
- setter of useState don't care about await
- How to detect redirect from external URI opened from Electron desktop application
- Calculate sum of values in Object of arrays
- React - Redux - Dispatch Action Error, this.props.mostrarProduto is not a function
- Webpack 5 - Asset Modules - png|jpg - Webpack Error
- How do I define methods in stateless components?
- React Router with redirection to login page but also to have 404 NotFound route
- In react, how to change the color of a range slider based on the value?
- react-select change singleValue color based on options
- How to remove default Button classes from material UI and use my own css class
- ReactJS onClick not working - nothing happends in the browser and in the system console
- I'm fetching a problem when I'm trying to fetch data from an API by using useEffect in react
- How do I change the properties of an object in state?
- onClick action not triggered using regular function in React
- How to open a new page and pass data between them in React JS
- Workbox in Create React App without eject
- TypeError: _this.state.answers.push is not a function React
- React JSX <option> tag population
- Add multiple query params with the same key with next/router
- Properly setting up React app to work with other devs in VS Code
- What to do when I have a placeholder type as string but a value type as number?
- env-vars in React using Dotenv and Webpack