title: How to get form data in Play Framework
body: <p>I found this neat post before asking this question (but doesn't solve my problem) :</p>
  
  <p>I'm trying to update a record with ajax call using play framework as a backend.</p>
  
  <p>Here is some data regarding my request :</p>
  
  <pre><code>Request URL:http://172.20.12.50:9000/updateName
  Request Method:PUT
  
  Form Data
  name=&amp;value=Testttt&amp;pk=367
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/3efHA.png" alt="enter image description here"></p>
  
  <p>Here is how I try to test what I get on the server side :</p>
  
  <pre><code>Logger.info("PK IS " + request().getQueryString("pk"));
  </code></pre>
  
  <p>This is what I get in the log:</p>
  
  <pre><code>[info] application - PK IS null
  </code></pre>
  
  <p>How would I get these params from FormData? I got this data regarding my request from firebug</p>