如何调试一个动态Web项目与post请求在eclipse juno [英] How to debug a dynamic web project with post request in eclipse juno

查看:263
本文介绍了如何调试一个动态Web项目与post请求在eclipse juno的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以使用Get请求轻松调试(Debug on Server,Tomcat已启动,我可以轻松进行),因为我只需要在url中传递参数,但我不知道如何使用发布请求进行调试。 >

目前,我正在使用高级休眠客户端运行应用程序并检查日志以查找任何错误。
任何帮助是赞赏。

解决方案


I can debug easily with a Get request (Debug on Server, Tomcat is started and I can proceed easily) as I just need to pass parameter in url but I am not sure how to debug with a post request.

Currently I am using Advanced Rest Client to run the application and checking logs to find any error. Any help is appreciated.

解决方案

Postman is very useful chrome extension for that.

Start the server in debug mode, then send post request via Postman. You can also use any other http methods.

I added a screenshot that shows how to send a post request to local machine with json parameters.

这篇关于如何调试一个动态Web项目与post请求在eclipse juno的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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