0

I am using a clean install of Drupal 8 with REST API enabled and the webform module install. I have created a basic webform with all the correct permissions and enabled /entity/webform_submission in the REST config section.

The form has a single field named full name with the key full_name. The webform ID is contact.

When I try to post data to the webform using postman I get a 500 error "field full_name is unknown". I know the key exits and the form is correct because if I change the name of the form to something that's doesn't exist I get a "Form is not a valid bundle type for denormalisation" error.

The json I'm sending is:

{
   "Webform_id":"contact",
   "full_name":"My name"
}

Any ideas?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.