可能对REST一个简单的问题...春RESTful服务GET和POST方法
如何通过GET变量的函数是在下面的代码
@GET
@Produces("application/json")
@Path("/loginresult.json/{userid}/{pwd}")
{
public List<SecurityBean> getAuthenticationResult(){
return authenticationAPI.getAuthenticationResult();
}
我wan't传递userid和pwd进入到getAuthenticationResult()函数的url
另外我怎样才能传递POST参数?
非常感谢Yogesh ...不知道为什么,但努力找到一个教程告诉这....真的很有帮助 – antnewbee 2012-04-10 16:04:37
请问SpringFile中的@FormParam相当于什么? – 2017-04-24 14:57:04