Run assertions against echoed HTTP requests with echo.js

Say you are writing an HTTP client and you are provided with documentation detailing the endpoints supported by a REST API hosted somewhere. One way to test this client is to hit the server serving the API. For whatever reason, you might not want to do this. You might just want to test how your client’s HTTP requests look like. This post will guide you through doing just that with the help of echo.js.

Continue Reading