Replies: 0
Hi everyone, I’m using cf7 rest api in to send contact submissions from my nuxt headless ui app.
Before that, I proceeded to test with Postman. I logged in with my Application password and setup body as follows:
POST url: https://nkw.com/en/wp-json/contact-form-7/v1/contact-forms/1383/feedback
_wpcf7_unit_tag
:wpcf7-f1383-p1301-o1
your-name
:Whitney Shields
your-email
:calyrep@gmail.com
your-message
:Impedit iste necess...
your-phone
:+9659999999
Initially I hadnt added the unit tag, so I received error to add it, after adding it I received spam error:
{ “contact_form_id”: 1383,
“status”: “spam”,
“message”: “There was an error trying to send your message. Please try again later.”,
“posted_data_hash”: “”,
“into”: “#wpcf7-f1383-p1301-o1”,
“invalid_fields”: []
}
This is not very helpful. I don’t understand the reason for Spam here, no information on Flamingo either.
The original wordpress site is already live and the contact form there works fine, but I need to know how to use it for my headless nuxt application.
Could someone please shed light on what am I doing wrong?