Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to match a URL which doesn't have path but have parameters #94

Open
kapadiapankit opened this issue Mar 24, 2022 · 0 comments
Open

Comments

@kapadiapankit
Copy link

kapadiapankit commented Mar 24, 2022

Hey @mrak

Thanks for the package. I've been using it since long and today I got a little different scenario which I am unable to configure.

Not able to match a URL which doesn't have path and does have many parameters.
Example URL: https://hostname.com/?param1=a&param2=b

Tried this:

- request:
    url: ^/
    params:
      param1: a
      param2: b
    method: GET
    headers:
      content-type: application/xml
  response:
    status: 200
    file: responses/xml_successful.xml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant