Skip to content

Instantly share code, notes, and snippets.

@mingomax
Created September 24, 2012 21:37
Show Gist options
  • Save mingomax/3778561 to your computer and use it in GitHub Desktop.
Save mingomax/3778561 to your computer and use it in GitHub Desktop.
Silex Get POSt
$app->post('/api/authenticate/authorize/', function() use($app) {
$data = $app['request']->get('data');
print_r(array('data' => $data));
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment