So, I've used the VS Code and IntelliJ extensions that support ".http" files for making REST requests forever.<p>They're incredibly useful for embedding executable API documentation in your projects.<p>What I've always wanted is the ability to embed assertions on the response.<p>Something like:<p><pre><code> POST http://api.mysite.com/todo
Content-Type: application/json
{ "text": "Do the dishes" }
ASSERT_RESPONSE_MATCHES
{ "id": 1, "text": "Do the dishes" }
</code></pre>
Currently I do this with manual scripting