Scenario: From browser will call RestService- A
and this A
service internally calls another RestService-B
. URL used in browser will have some parameters which are passed to RestService-B
.
场景:从浏览器调用RestService-A,此A服务在内部调用另一个RestService-B。浏览器中使用的URL将包含一些传递给RestService-B的参数。
Q1. How to call service-B from service-A using java RESTEasy API?
Q2. How to pass URL's parameters to service-B from service-A?
Q1。如何使用java RESTEasy API从service-A调用service-B? Q2。如何将URL的参数从service-A传递给service-B?
1 个解决方案
#1
0
In service-A, wrote "RestEasy client code" accessing resource/service exists in service-B. From Browser(Firefox), service call(URL) to service-B.
在service-A中,写入“RestEasy客户端代码”访问资源/服务存在于service-B中。从浏览器(Firefox),服务调用(URL)到服务-B。
#1
0
In service-A, wrote "RestEasy client code" accessing resource/service exists in service-B. From Browser(Firefox), service call(URL) to service-B.
在service-A中,写入“RestEasy客户端代码”访问资源/服务存在于service-B中。从浏览器(Firefox),服务调用(URL)到服务-B。