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
I used baseURL in react but it doesn't affect the url
//axios-order.js import axios from 'redaxios'; const instance = axios.create({ baseURL: 'http://something.com/api' }); export default instance; //login.js import axios from './axios-order'; const url = '/auth/admin-login'; const authData = { mobile: mobile, password: password }; axios.post(url, authData) .then(response => JSON.parse(response.data)) .catch(error => { console.log(error) })
i receive this :
index.js:168 POST http://localhost:3000/auth/admin-login 404 (Not Found)
The text was updated successfully, but these errors were encountered:
This has already been noted and a fix has been provided at #20
Sorry, something went wrong.
Yep yep - apologies for the slow release, I got stuck refactoring interceptors and then the work week ended.
Update: version 0.3.0 is published.
No branches or pull requests
I used baseURL in react but it doesn't affect the url
i receive this :
index.js:168 POST http://localhost:3000/auth/admin-login 404 (Not Found)
The text was updated successfully, but these errors were encountered: