Set request body using a table.
Step pattern
Given (?:I|we) set the request body with:Examples
Example #1
Given I set the request body with:
| name | John Doe |
| email | john@example.com |
| age | 30 |Example #2
Given we set the request body with:
| org | Webship.co |
| country | UN |
| active | true |Example #3
Given I set the request body with:
| title | Hello World |
| body | First post |
| userId | 1 |Example #4
Given we set the request body with:
| status | published |
| priority | 5 |
| featured | false |