I'm using vcr in rspec to match save urls and play them back, in the config I'm using the following settings for match_requests_on
:
match_requests_on: [:method, :host, :path]
However I want to modify this config for certain urls only, for example if a url contains /somepath/
then I want to change the config for this url only to match_requests_on: [:method, :host, :path, :body]
is there a way to do this in the vcr or rspec config files?
I can't seem to find anywhere that will change it per vcr call globally.