title: How to call httprequest in ajax call with playframework 1.5.0
body: <p>I try to call httprequest in an ajax call, but get internal error. And I know the http request call is correct beyond the ajax call. What's the problem.</p>
  
  <p>Here is the code.</p>
  
  <p><a href="https://i.stack.imgur.com/C9FsH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/C9FsH.png" alt="enter image description here"></a></p>
  
  <p>And the ajax call.</p>
  
  <p><a href="https://i.stack.imgur.com/GGZgx.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/GGZgx.png" alt="enter image description here"></a></p>
  
  <p>The error i get.</p>
  
  <p><a href="https://i.stack.imgur.com/me3mL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/me3mL.png" alt="enter image description here"></a></p>