We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5fb434b commit 2b92dcfCopy full SHA for 2b92dcf
src/Codeception/Module/REST.php
@@ -430,8 +430,8 @@ public function amAWSAuthenticated($additionalAWSConfig = [])
430
* 'tmp_name' => codecept_data_dir('sample_file.pdf')
431
* ]
432
* ]);
433
- * // Some frameworks (e.g. Symfony) create field names in the form of an "array": `<input type="text" name="form[task]">`
434
- * // In this case you need to pass the fields like this:
+ * // If your field names contain square brackets (e.g. `<input type="text" name="form[task]">`),
+ * // PHP parses them into an array. In this case you need to pass the fields like this:
435
* $I->sendPOST('/add-task', ['form' => [
436
* 'task' => 'lorem ipsum',
437
* 'category' => 'miscellaneous',
0 commit comments