Welcome Guest, Not a member yet? Register   Sign In
CI3 file upload via ajax with csrf
#1

(This post was last modified: 06-03-2020, 07:45 AM by Goddard.)

How can I include the csrf token with the file upload?  It appears using the new Form() functions with the upload data doesn't work.  I see the csrf token in the params but it is always saying Forbidden.  If I disable CSRF token security then the upload works so I have isolated the fact it isn't set.

I have the csrf token added in the form itself as well and in ajax wrapper.

Thanks
Reply


Messages In This Thread
CI3 file upload via ajax with csrf - by Goddard - 06-03-2020, 07:43 AM



Theme © iAndrew 2016 - Forum software by © MyBB