Skip to content

API call via Postman/SoapUI - Form data not valid #239

Answered by zepich
sukapyx asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @sukapyx

Thank you very much!

I've tested your string with SoapUI and had the same issue. The problem is the structure of the formData parameter.

Generally, it is an object with the two properties fields and ignoredFields. These properties are an array with the form data objects in it.

Your string contains only the value of the fields property but not the fields and ignoredFields properties. So, the correct string looks like this:

{"fields":[{"name": "name", "value": "Testing", "fieldPath": "input[text].name"},{"name": "emailAddress","value": "testing@testing.com","fieldPath": "input[email].emailAddress"},{"name": "message", "value": "testsonum", "fieldPath": "textarea.message"}],"igno…

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@sukapyx
Comment options

@zepich
Comment options

@sukapyx
Comment options

@zepich
Comment options

Answer selected by zepich
@sukapyx
Comment options

@zepich
Comment options

@zepich
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
documentation Improvements or additions to documentation
2 participants