-
-
Notifications
You must be signed in to change notification settings - Fork 479
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
Turn Pact Requests Into Printable Curl #1507
Comments
This is an awesome feature! |
Amazing feature ! Indeed, it will help us a lot 👍 |
Hey @francislainy, Going through some old issues and this is very cool! If you are still around in the Pact world, would you want to consider turning this into a pull request so it could become a Pact feature? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When Pact fails, it's a bit hard to know what the issue is considering the requests are not being printed back to the terminal. At the moment, I'm using this custom method to do this but I think it would be nice to have something like this out of the box.
I then call it like this:
And that gives me the curl printed to the terminal.
And It also prints the response (the part under the {} )
I'd love if sth like this (or better) could be added to the library, but I'm not sure I'm the right person to take this task, so just sharing my gist as something to start with maybe?
Thanks very much.
The text was updated successfully, but these errors were encountered: