Feb 12, 2016
0
Level 3
Using Annotator js with laravel
Hi, I was trying to store annotations (annotator js) into my mysql database, but the routes are causing problem in laravel.
I am sending the annotations through this jquery code:
var content = $('#content').annotator();
content.annotator('addPlugin', 'Store', {
// The endpoint of the store on your server.
prefix: '/list/annotations',
});
and my route is
Route::post('list/annotations', 'TargetsController@xyz');
But somehow the controller function is not being called. Any help plz, stuck in this since 4 days. thanks
Please or to participate in this conversation.