title: webService REST with input in plain text
body: <p>I'm trying to do a server webservice in REST. My input is a string, but I don't know how to call it from URL (GET Example).</p>
  
  <p>Below is my server.</p>
  
  <pre><code>  @PATH(/rest)
     @GET
      @Consumes(MediaType.TEXT_PLAIN)
      public void serverPlaintext(String input){
       System.out.prinln("Hello world");
      }
  </code></pre>
  
  <p>and here is what I tried to call in client.</p>
  
  <p><a href="http://myserverip:port/WARname/rest?%22myinput%22" rel="nofollow noreferrer">http://myserverip:port/WARname/rest?"myinput"</a></p>