yakbak
yakbak copied to clipboard
Record and playback HTTP responses
I'm attempting to create a proxy to an https API that sits behind Cloudflare: http.createServer(yakbak('https://--domain--', { dirname: __dirname + '/tapes' })).listen(3000); When I do this, and curl the proxy: curl...
Hello, I am a beginner in nodejs and require some help regarding the usage of yakbak. Hope, you don't mind :-) **Situation:** At present, I develop ASP.NET webmethods via Visual...
In this case: ``` js yakbak('http://host.com/subdir', {dirname}); ``` It seems like yakbak drops the '/subdir' part when it proxies requests and only sends 'http://host.com/'.
Hi there, In the blog post linked in the README, there's mention of a few approaches to the same problem, including Ruby's vcr library. I'm curious how yakbak compares with...
It might be a bit more elegant to use "//" style comments instead of "/*", since you'd be able to drop the escaping. This could also allow the data to...
I don't think tapes need better names (that's what the dirname is for!) but I do think the tapes themselves could use some better metadata, either in the header comment...
[vcr has an option](https://relishapp.com/vcr/vcr/v/3-0-1/docs/configuration/filter-sensitive-data) for this. I generally prefer to check in tapes so this would be really useful.