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
Allow users to define custom routes and responses.
Faux-call object now exposes the Express.js server through the faux.route.
faux.route
const faux = require('faux-call'); faux.route.get('/custom/route/path', (req, res) => { return res.send('SEND CUSTOM RESPONSE'); });
The text was updated successfully, but these errors were encountered:
olavoasantos
No branches or pull requests
Description
Allow users to define custom routes and responses.
Solution
Faux-call object now exposes the Express.js server through the
faux.route
.Proposed API
Release
The text was updated successfully, but these errors were encountered: