title: how to get data from ajax request in laravel
body: <p>I am doing ajax request and passing this data </p>
  
  <pre><code>    $.ajax({
    url: "{{URL::to('match')}}/"+ id,
    type: 'PUT',
    // dataType: 'default: Intelligent Guess (Other values: xml, json, script, or html)',
    data: {
      match_id : id,
      start_time : newTime,
      competitionId: {{$cid}},
      _token:     '{{ csrf_token() }}'
    }
  })
  </code></pre>
  
  <p>and in laravel trying to get this data as </p>
  
  <pre><code>dd($request-&gt;start_time);
  </code></pre>
  
  <p>but it is not working i am getting null </p>
  
  <p>In chrome developer tools 
  data with ajax request sent correctly this is one simple </p>
  
  <pre><code>match_id:1
  start_time:03:00
  competitionId:1
  _token:9p8plPay7HLvJvMrTgxayEH74Ow6c2D1cli1yU01
  </code></pre>
  
  <p>all of this was working fine before I moved this site to a new server </p>
  
  <p>have i missed any file ?</p>