Using jquery mobile+phonegap, trying to POST to a Slim application, I have this code:
$( document ).on( \"vclick\", \"#test_form\", function() {
$.aj
As per slim v3 you can access the request object with $request->getParams()
$app->get('/', function (Request $request, Response $response){
$data = $request->getParams()
echo json_encode($data['namec']);
}
see documentation here https://www.slimframework.com/docs/v3/objects/request.html#route-object