我已经在本地实现了一个restfull webservice项目来自rest-client我可以发送请求,并且我也得到了回复。 下面是其余的客户 “发布采购信息”:如何通过springXD发送http-client发布请求
{"address":{"type1":"abc","email":"[email protected]"}}
响应:
{"address":{"type1":"abc","email":"[email protected]"}}
而这些标题。
Content-Type:application/json
下面一个是我的本地Java API项目网址:
http://localhost:8080/test/test1
现在我试着学习春天XD我怎么能带弹簧XD发送请求。我已经在我的本地安装了Spring XD和RabbitMQ。
帮助我如何从这些json请求发送Spring XD的请求。
您可以使用Spring集成 –