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

[ENH] refactor http input to trigger each specific action, from GET, POST, PUT and FILES #187

Merged
merged 1 commit into from
Sep 22, 2024

Conversation

bim-g
Copy link
Collaborator

@bim-g bim-g commented Jun 25, 2024

We used to used Input::get() method to read data from http request GET , POST and PUT without any distinction, that lead for some confusion, in case we want to deal with post, put, there was not a specific way to deal with.
The approach to have each method for a specific case it makes the module more readable and more mature, and void confusion.
closes #205

@bim-g bim-g added bug Something isn't working enhancement New feature or request labels Jun 25, 2024
@bim-g bim-g added this to the Input Request milestone Jun 25, 2024
@bim-g bim-g self-assigned this Jun 25, 2024
controller/indexController.php Outdated Show resolved Hide resolved
src/Core/Http/Input.php Show resolved Hide resolved
src/Core/Http/Input.php Show resolved Hide resolved
src/Core/Http/Input.php Show resolved Hide resolved
@bim-g bim-g merged commit 704c414 into master Sep 22, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Http Input should handle each specific action, from GET to FILES
1 participant