daily pastebin goal
64%
SHARE
TWEET

Untitled

a guest Mar 20th, 2019 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $app->post('/computes', function (Request $request, Response $response) {
  2.     $compute = new MobiAuth\Controller\ComputeController($request->getHeaderLine("X-Auth-Jwt"));
  3.     return $compute->createAction($request, $response);
  4. })->add(new MobiAuth\Middleware\JwtMiddleware())->add(new MobiAuth\Middleware\ValidateJsonSchemaMiddleware('CreateCompute'));
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top