Get started with wiretap
Value in 45 seconds, or your money back.Don’t have time to read? Just want to try things out? No problem, we’ve got you covered.
1. Install wiretap
2. Download OpenAPI spec
We’re going to use a small example Gift Shop OpenAPI specification to demonstrate the speed and power of wiretap
.
3. Run wiretap
You should see something like this appear in your terminal.
4. Open the wiretap monitor
Open up your browser and point it at http://localhost:9091,and you should see the wiretap monitor.
5. Make API request
Use curl to make a request to the giftshop API via wiretap
6. Explore the request
You should be able to see, click-on and explore that request in your wiretap
monitor.
7. Make an invalid API request
Use curl to make an invalid request to the pb33f giftshop to create a new product via wiretap
This request is invalid, because we’re making a
POST
request with the wrong content type. The API is expectingapplication/json
and we’re sendingapplication/x-www-form-urlencoded
.
8. Explore the invalid request
You should be able to see, click-on and explore that invalid request in your wiretap
monitor.
The violation is marked pretty clearly.
9. Make another invalid API request
Use curl to make another invalid request to the giftshop via wiretap
This request is invalid because even though we’re sending the right content-type, we’re sending the wrong object, the schema is incorrect
Clicking on the violation allows the exploration of what went wrong and why the schema is incorrect, and what the schema should be.
What’s next?
You should now have a good idea of what wiretap
can do for you, however there is a lot more to discover.
Why not learn about wiretap so you can learn more its features and capabilities.
Read more about the pb33f example Giftshop API that we used in this quickstart.