In part 1 we designed our API using OpenAPI/Swagger. If you haven’t already, you’ll need to install Perl.
I recommend you install Strawberry Perl as it lets you develop Perl applications using the same tools that our Unix-based brethren use.
After you’ve verified that it works, hold down the Control key and type the letter C in your terminal to stop the script.
Let’s add some tests to the same t/word.t script, underneath the first one: Here we’re testing that we get back the definition we saved, that we can delete the definition, and that when we try to retrieve it again we get a 404 Not Found error.