I want use a html form element to submit the subscribers like this:
<form action="https://a.klaviyo.com/api/v2/list/VMd343/members?api_key=U12345" method="post" target="_blank">
<input type="email" name="EMAIL" placeholder="Email">
<button type="submit">Sign In</button>
</form>
But when I test to submit the form, I got an error:
{"detail":"CSRF Failed: <HttpResponseForbidden status_code=403, \"text/html\">"}
Does the development API not be supported in Frontend?
Could anyone give a hand? thanks a lot!
Best answer by Dov
View original