3 ms·
Sure! Here is a gist: https://gist.github.com/JBlaak/8d9fdebb2a28a0b9026a71bced7cceaf https://gist.github.com/JBlaak/8d9fdebb2a28a0b9026a71bced7cc... Every req
by jblaak 10y ago
Sure! Here is a gist: https://gist.github.com/JBlaak/8d9fdebb2a28a0b9026a71bced7cceaf https://gist.github.com/JBlaak/8d9fdebb2a28a0b9026a71bced7cc...
Every request will have the `accept` and `X-Requested-With` headers and prefixed with some route prefix using the request and the base decorators. As you can see in consumer.js you use async/await to consume results generated by the methods.