vcr_proxy
vcr_proxy copied to clipboard
how to playback recordings
I was able to get the vcr_proxy.rb server up and running and I've obtained the recordings I wish to playback. I want to use these recordings test a single page javascript application, but how do I use the proxy server as an endpoint for my JS if requests need to be proxied in order to match my recordings?
I want to avoid creating an additional server that my JS will call just so I can make the proxy request to the vcr_proxy. I also want to avoid setting my browser to the proxy as the proxy server will not be serving the assets, only my json responses.