具有所有 HTTP 方法的浏览器 REST 开发插件
是否有适用于任何 Web 浏览器的插件,可以为您提供 GUI 来执行 PUT、DELETE 等操作?我已经编写了一个可导航的 REST 应用程序,我希望能够使用浏览器进行一些尝试并演示 API,但由于它们都缺少 DELETE 和 PUT,因此变得很麻烦。
Is there a plugin for any web browser which gives you a GUI to perform PUT's, DELETE's etc? I've written a navigable REST app, and I would like to be able to poke around a bit with my browser to try it out and to demo the API, but since they all lack DELETE and PUT it becomes cumbersome.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
有几个 FireFox 插件可以实现此目的,包括“海报”和“REST 客户端”。
There are several FireFox plugins for that, including "Poster" and "REST client".
您可以通过提供 http://www.aminus.net/wiki/Okapi 轻松浏览与您的常规网站内容一起。它不仅允许 DELETE 和 PUT,还允许任何自定义方法。此外,您可以完全控制标头。
它是某种“元浏览器”,因此对于面向用户或执行的演示来说并不是很好。但它确实可以帮助您准确查看正在发送和接收的内容,并更快地调试问题。它也是其他开发人员发现您的非 HTML RESTful 应用程序的绝佳工具。
You can poke around easily by serving http://www.aminus.net/wiki/Okapi alongside your regular site content. It allows not only DELETE and PUT, but any custom method. In addition, you have complete control over the headers.
It's a "meta-browser" of sorts, so not really good for a user- or exec-oriented demo. But it can sure help you see exactly what is being sent and received, and debug problems more quickly. It makes a great tool for other developers to discover your non-HTML RESTful apps, too.