如何调试RESTful服务? [英] How to debug RESTful services?

查看:124
本文介绍了如何调试RESTful服务?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一种简单的方法来调试RESTful服务。例如,大多数webapps可以使用您的平均网络浏览器进行调试。不幸的是,同样的浏览器不允许我测试HTTP PUT,DELETE,甚至在一定程度上测试HTTP POST。



我不希望自动化测试。我想通过快速的理性检查来运行新的服务,理想情况下,无需编写自己的客户端。

解决方案

使用现有的REST客户端工具,可以轻松检查请求和响应,例如 RESTClient 。 / p>

I'm looking for an easy way to debug RESTful services. For example, most webapps can be debugged using your average web browser. Unfortunately that same browser won't allow me to test HTTP PUT, DELETE, and to a certain degree even HTTP POST.

I am not looking to automate tests. I'd like to run new services through a quick sanity check, ideally without having to writing my own client.

解决方案

Use an existing 'REST client' tool that makes it easy to inspect the requests and responses, like RESTClient.

这篇关于如何调试RESTful服务?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆