Looking at Hapi.js, it looks like you can supply a function as a handler so you can take incoming path params, etc and supply a dynamic response. Why does this not seem possible with http-fake-backend? It seems like this would be like 1 line of code in supportedMethod.js to make this work.
Looking at Hapi.js, it looks like you can supply a function as a handler so you can take incoming path params, etc and supply a dynamic response. Why does this not seem possible with http-fake-backend? It seems like this would be like 1 line of code in
supportedMethod.js
to make this work.Example usage: https://hapijs.com/api#path-parameters