我们可以创建一个的ServiceProvider并注册任何REST风格的WS,而不是为Web应用程序与JSP,HTML等。
都试过了,配置,我RestWS为localhost:8080/EMPID
它穿透并得到我的回应,是否有正确的方法来存档它?休息WS,与WSO2寄存器SSO
编辑:
@POST
@Path("/{param}")
public Response postMsg(@PathParam("param") String msg) {
String output = "POST:Jersey say : " + msg;
return Response.status(200).entity(output).build();
}
存在被监听的PostMethod,
网址:http://localhost:8080/{param}
注:There is no login page
, 这个URL可以用WSO2 ..作为ServiceProvider来保护..?
你的问题不清楚给我。 – Bee
@Bhathiya编辑过这个问题,是否明确。 – peaceUser
您是否在寻找一种保护您的REST API的方法? – Bee