title: How to send JSON data as parameter from C# to Jersey RESTful Service
body: <p>I have a C# Console program. I just want to send JSON data to a POST RESTful service. Which approach should I follow?</p>
  
  <pre><code>@Path("/SetInfo")
  public class SetInfo {
  
      @POST
      @Produces({ MediaType.APPLICATION_JSON })
      @Consumes({ MediaType.APPLICATION_JSON })   
      public String AuthMySQL(String json) {
          System.out.println("The JAX-RS runtime automatically stored my JSON request data: " + json);
          return "";
      }
  </code></pre>