This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

floriskoch
floriskoch

In our projects we would like to include as little jQuery as possible. Therefore we'd like to bypass the Ajax framework included in OctoberCMS. However, it seems that the framework is rooted pretty deeply in the system. Would it be possible to easily bypass the framework? And what would be the best way to get started?

floriskoch
floriskoch

Already figured it out. You just have to set the correct request headers. Then you can return data from the controller like so for example:

return response()->json($this->groupResults($results));

1-2 of 2

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.