ubirak / rest-api-behat-extension

Stuff to easily test your rest api with Behat
MIT License
38 stars 24 forks source link

Sending POST request as HTML form #96

Closed bystro closed 6 years ago

bystro commented 6 years ago

Checkout the following approach. I think scenarios I send request like a HTML from are more descriptive.

tyx commented 6 years ago

Despite my comment, we can go with this PR ! Thank you very much.

I will go through some refinements in the next couple of days before release.

bystro commented 6 years ago

Thank you Timothée. We have to extend the implementation so that we could send multidimensional data like the bellow

<input type="text" name="options[0][deptid]" id="deptid" />
<input type="text" name="options[0][deptname]" id="deptname" />
<br/>
<input type="text" name="options[1][deptid]" id="deptid" />
<input type="text" name="options[1][deptname]" id="deptname" />