D
D
DocTypeMaster2021-04-18 23:29:10
Laravel
DocTypeMaster, 2021-04-18 23:29:10

Why is it throwing a 419 error when submitting a form in an iframe?

Help with one problem, I made a form and then connected it via an iframe on another site, on the main form it is sent and everything is fine, but on the one where it is embedded it gives an error 419 Page Expired

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
part_os, 2021-04-19
@DocTypeMaster

did you disable csrf for this form?
csrf prevents other people's websites from sending to your site, it is designed to prevent forged request to use the site.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question