Sending an AMP form with a serverless function #13775
Unanswered
yassinebridi
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a serverless function in a endpoint:
and defined like this:
and i would like to use this endpoint with amp,
but AMP accepts only XHR, instead of fetch.
i could provide the mailchimp endpoint directly to the
action-xhr
property in the amp form, but again i need to provide cors headers.Beta Was this translation helpful? Give feedback.
All reactions