title: Retrieving data in Java send by JavaScript
body: <p>I have a problem with getting the Data send by javascript to java via Rest. I send my Data via ajax.</p>
  
  <p>This is my ajax Method:</p>
  
  <pre><code>jQuery.ajax({
  type: "POST",
  url: base + "/jira/rest/ticketmeasurementrestresource/1.0/message/" +$filterId +".json",
  data: aoColumnSet,  // aoColumnSet is a jsonObject
  async: false,
  datatype: "json",
  success: function(data){
              ;
       aoColumnSet = jQuery.parseJSON(data.value);
      }
  });
  </code></pre>
  
  <p>This is my REST Interface</p>
  
  <pre><code>@POST
  @Produces({ MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML })
  @Path("/{key}")
  public Response getMessageFrom(@PathParam("key") String key) throws NumberFormatException,  Exception{
  
      System.out.println("Es klappt mit POST access zu bekommen");
  
      return null;
  }
  </code></pre>
  
  <p>The URL is correct and I can access the method getMessageFrom. I also can extract the data from the URL with @PathParam.</p>
  
  <p>But I don't know where I can get the data send by ajax. How do I get the Jsonobject aoColumSet?</p>
  
  <p>Best Regards,</p>
  
  <p>Steffen</p>