Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: 403 error in AJAX to Controller
Post: RE: 403 error in AJAX to Controller

ecampait Wrote: (10-27-2019, 07:55 AM) -- Hi, as said @mintwint you must have the CSRF enabled. In your code ajax replaces the method POST by GET and if it works it is the CSRF which has the cause...
6,431 Views
7 Replies
10-27-2019, 12:21 PM
anonymous5421
    Thread: 403 error in AJAX to Controller
Post: RE: 403 error in AJAX to Controller

ciadmin Wrote: (10-27-2019, 07:12 AM) -- You need to provide a lot more information than just this, before anyone can help you. The only thing someone could point out is that a 403 is "access forbid...
6,431 Views
7 Replies
10-27-2019, 08:20 AM
anonymous5421
    Thread: 403 error in AJAX to Controller
Post: RE: 403 error in AJAX to Controller

mintwint Wrote: (10-27-2019, 07:22 AM) -- check csrf token -- How should I do this? in the $globals in config/Filters.php, csrf is commented: public $globals = [ 'before' => [ //'honeypot' /...
6,431 Views
7 Replies
10-27-2019, 08:08 AM
anonymous5421
    Thread: 403 error in AJAX to Controller
Post: 403 error in AJAX to Controller

Hello. I am trying to send an string from "View" to the "Controller" with AJAX, but give Error 403. (CodeIgniter 4)
6,431 Views
7 Replies
10-27-2019, 05:34 AM
anonymous5421

Theme © iAndrew 2016 - Forum software by © MyBB