amphtml icon indicating copy to clipboard operation
amphtml copied to clipboard

Latest update broke XHR Post requests

Open ghost opened this issue 8 years ago • 3 comments

Earlier today (European time) all our AMP forms using XHR started failing.

Our server endpoint that handles the form input shows that no POST data is received. We have not made any changes to our codebase recently. We believe this error is caused by a recent change on AMP's side?

We have temporarily disabled AMP on our website, so I can't post a live example.

ghost avatar Dec 06 '17 17:12 ghost

@nathandh8 I just test some of our forms that use XHR and they seem to be working fine.

mikeduarte avatar Dec 06 '17 17:12 mikeduarte

I confirm that AMP POST forms using XHR are not working.

Example: Try to rate here: https://www.teksteshqip.com/dhurata-dora

I haven't made any changes.

plarentnasto avatar Dec 06 '17 18:12 plarentnasto

We have rolled back the release and working on a fix. Please see https://github.com/ampproject/amphtml/issues/12327 for updates.

Sorry for the trouble, closing this issue as dup of https://github.com/ampproject/amphtml/issues/12327

aghassemi avatar Dec 06 '17 19:12 aghassemi