I have a Kendo Ui grid in my laravel application. It uses laravel resource route for CRUD operation. Everything on kendo grid (read,create,update,destroy) works fine when the grid is accessed from localhost. But when i try from remote address (network connected pc) then "grid destroy" does not work with "delete" method.'get' and 'post' method works fine from remote address. The "delete" method request takes almost 4-5 sec to send the request to laravel ,moreover the request does not have any Form Data ( Input::all() = empty array ). Strange thing is it works fine in localhost. I have searched for google,laravel doc, kendo ui doc but no lack. Please help.
Asked
Active
Viewed 205 times
0
-
Think this is CORS problem, google on that :) – Vit Kos Jan 26 '15 at 12:41
-
Have you checked on the remote server that the DELETE verb is an allowed HTTP verb. This may have been blocked/disabled by default. – David Shorthose Jan 26 '15 at 12:54
-
@DavidShorthose i am using the same local server for both requests. – Touhid Jan 29 '15 at 13:18
-
this is strange behavior, show your route and your corresponding delete method – Vit Kos Jan 29 '15 at 13:42
-
@Touhid have you tried to run fiddler to see what is happening when the request is being fired? This is why I thought it may be a VERB issue if POST and GET were working for you remotely. – David Shorthose Jan 29 '15 at 15:55