0

I have one question related to the csrf token in Codeigniter 4. sir when I used CSRF token in any form and fetch some data from AJAX inner this form that time main form CSRF token expired or not working and the request can not send on the server. show/return error message is => The action you have requested is not allowed. so please sir provide/give some solution to this issue. and shot/make a video on how to use AJAX & PHP post requests with CSRF tokens together in a single form in Codeigniter 4. thank you.

I have one question related to the csrf token in Codeigniter 4. sir when I used CSRF token in any form and fetch some data from AJAX inner this form that time main form CSRF token expired or not working and the request can not send on the server. show/return error message is => The action you have requested is not allowed. so please sir provide/give some solution to this issue. and shot/make a video on how to use AJAX & PHP post requests with CSRF tokens together in a single form in Codeigniter 4. thank you.

Ram S
  • 1
  • Does this answer your question? [Error: The action you requested is not allowed. My API is blocked by filters when the HTTP request method is "POST" in CodeIgniter 4](https://stackoverflow.com/questions/71495972/error-the-action-you-requested-is-not-allowed-my-api-is-blocked-by-filters-whe) – steven7mwesigwa Jun 10 '23 at 07:01

0 Answers0