I am doing ajax request and passing this data
$.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() }}'
}
})
and in laravel trying to get this data as
dd($request->start_time);
but it is not working i am getting null
In chrome developer tools data with ajax request sent correctly this is one simple
match_id:1
start_time:03:00
competitionId:1
_token:9p8plPay7HLvJvMrTgxayEH74Ow6c2D1cli1yU01
all of this was working fine before I moved this site to a new server
have i missed any file ?