To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!More about adding a collaborator
Matching on Headers
:headers request matcher to match requests on the request headers.
- Replay interaction that matches the headers
a previously recorded cassette file "cassettes/example.yml" with:
a file named "header_matching.rb" with:
it should pass with:
Response for user 2: user 2 response Response for user 1: user 1 response
Examples: configuration http_lib c.hook_into :webmock curb c.hook_into :webmock patron c.hook_into :webmock em-http-request
Last published almost 5 years ago by Tony Miller.