Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

passing parameter from client to webservice(restful) method  RSS feed

 
Gurwinder infosys
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,
I have a webservice method like
@GET
@Path("/hello2")
@Produces(MediaType.TEXT_PLAIN)

public String tellName(String name) {

return "here it is"+name;
}

and i want to call it from client by specifying parameter 'name' in client file. Can anybody suggest something with code example.

Thanks
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!