Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate submit() method, use post() instead #171

Merged
merged 1 commit into from
Jun 29, 2020

Conversation

clue
Copy link
Owner

@clue clue commented Jun 29, 2020

This changeset deprecates the submit() method and suggests using the existing post() method instead:

// old: deprecated
$browser->submit($url, $data);

// new
$browser->post($url, ['Content-Type' => 'application/x-www-form-urlencoded'], http_build_query($data));

Builds on top of #170

@clue clue added this to the v2.9.0 milestone Jun 29, 2020
@clue clue merged commit 70bb431 into clue:master Jun 29, 2020
@clue clue deleted the deprecate-submit branch June 29, 2020 11:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant