cancel
Showing results for 
Search instead for 
Did you mean: 

Amp form Post method not supported

Former Member
0 Kudos

Hi experts...

I need to add Amp from with post method in store front. on submitting post method its redirecting to 404,but get method is working fine. I guess its because of CSRF token filter. Could you please help me out on this. i have no idea how solve this issue.

Thank you, Kavitha.U

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Since Amp Form is using action-xhr for POST method, it is expecting JSON response so we have to accept the content type as application/json in header and form will get submitted. But for form validation , how to handle it ?? Amp has its own validation but is it possible to show our own custom validation messages instead of theirs?? Can anyone help me in this please..