TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Test, Save, and Execute HTTP Requests with Hurl (Or Restclient.el)

5 点作者 jicea27 天前

1 comment

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