在JAX-RS和Spring中调用另一个REST调用

huangapple 未分类评论44阅读模式
英文:

REST call invoking Another REST call in jax rs and Spring

问题

我应该在这之后调用一个带有一些JSON数据负载的Rest调用,然后它应该再调用一个具有相同负载的端点(使用POST请求),并且它应该返回一些响应。我应该捕获那个响应。

我应该如何使用JAX-RS和Spring来实现这个?

英文:

I should call one Rest call with some json payload after this it should invoke one more end point with the same payload (POST) call and it should give some response. I should capture that response .

How can I do that using Jax rs and Spring?

huangapple
  • 本文由 发表于 2020年4月8日 12:49:17
  • 转载请务必保留本文链接:https://java.coder-hub.com/61093514.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定