You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Demo repo to show how to validate routes, POST requests and GET request query strings using Silex. There is a corresponding article on medium explaining the process. The master branch is the basic set up. There are 3 other branches which all build on each other: route, getrequest and postrequest. To see everything in context view the postrequest…
run composer install to set up autoloader and dependencies
set up server `php -S localhost:8080 -t ."
Then call the end points:
[GET] /emoji/
[GET] /emoji/{id}
[POST] /emoji/
About
Demo repo to show how to validate routes, POST requests and GET request query strings using Silex. There is a corresponding article on medium explaining the process. The master branch is the basic set up. There are 3 other branches which all build on each other: route, getrequest and postrequest. To see everything in context view the postrequest…