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

Update verifier to support headers, parameters, and bodies #12

Open
piofusco opened this issue Mar 26, 2022 · 0 comments
Open

Update verifier to support headers, parameters, and bodies #12

piofusco opened this issue Mar 26, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@piofusco
Copy link
Collaborator

Current, verifier only takes method and uri. It would be great if it could also support HTTP headers, URL parameters, and/or JSON bodies. Something like this

subject.verify(
    Method.GET, 
    "/greeting", 
    ["Some header": "some value"],
    ["parameter1":"value1"], // or something like this
    [:]
)
@piofusco piofusco added the enhancement New feature or request label Apr 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant