Test, Save, and Execute HTTP Requests with Hurl (Or Restclient.el)
by gavinray on 4/17/2025, 5:43:43 PM
So, I've used the VS Code and IntelliJ extensions that support ".http" files for making REST requests forever.
They're incredibly useful for embedding executable API documentation in your projects.
What I've always wanted is the ability to embed assertions on the response.
Something like:
POST http://api.mysite.com/todo Content-Type: application/json { "text": "Do the dishes" } ASSERT_RESPONSE_MATCHES { "id": 1, "text": "Do the dishes" }
So, I've used the VS Code and IntelliJ extensions that support ".http" files for making REST requests forever.
They're incredibly useful for embedding executable API documentation in your projects.
What I've always wanted is the ability to embed assertions on the response.
Something like:
Currently I do this with manual scripting