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
Axios allows to execute request set in options, rather than used as a method: await axios({ url: 'https://httpbin.org/post', method: 'post' });
await axios({ url: 'https://httpbin.org/post', method: 'post' });
Could we have the same in Cachios?
The text was updated successfully, but these errors were encountered:
Cachios doesn't currently work when called as a function (is this easy to add? I've never done this myself).
As an alternative, there is support for axios.request: https://runkit.com/albinodrought/62979de32563a4000865bbff
axios.request
const cachios = require('cachios'); (async () => { console.log(await cachios.request({ url: 'https://httpbin.org/post', method: 'post' })); })();
Would this work?
Sorry, something went wrong.
No branches or pull requests
Axios allows to execute request set in options, rather than used as a method:
await axios({ url: 'https://httpbin.org/post', method: 'post' });
Could we have the same in Cachios?
The text was updated successfully, but these errors were encountered: