-
Notifications
You must be signed in to change notification settings - Fork 122
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
Method of a controller does not receive the data by POST #625
Comments
Hello, I do not see an error directly. Can you show me the request body in the network tab of the browser so that I can reconstruct everything? Also maybe try to use the InputHandler of the library. ~ Marius |
Add the network to the question, can you tell me where is the InputHandler? |
Hey, I will take a closer look at your issue tomorrow. You can find the input handling in the documentation under input & parameters, I think. This would be the best in your case:
~ Marius |
@DeveloperMarius
|
Great! This project is no longer maintained. When you want PHP 8.x support, input validation etc. check out my fork https://github.com/DeveloperMarius/simple-php-router ~ Marius |
But it seems abandoned. |
Hey, I replyed to your question. ~ Marius |
The route works correctly but it seems that the data is not sent to my method since it does not let me use the values.
Project: https://github.com/LuisEstrada7/prueba-simple-php-router
index.php
routes.php
Use fetch JS to do the queries.
app.js
Persona.js
controller:
Can someone please tell me where the error is? Are you implementing the library wrong?
sent values:
network :
The text was updated successfully, but these errors were encountered: