Open francislainy opened 2 years ago
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?
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.