Skip to content

Instantly share code, notes, and snippets.

@ProdigyView
Created January 8, 2019 00:39
Show Gist options
  • Save ProdigyView/2a27b74e7f966d16d91551d9b89e2808 to your computer and use it in GitHub Desktop.
Save ProdigyView/2a27b74e7f966d16d91551d9b89e2808 to your computer and use it in GitHub Desktop.
<?php
include_once (dirname(__FILE__) . '/../vendor/autoload.php');
use prodigyview\network\Response;
$response = array('status' => 'success', 'message' => 'Responding');
echo Response::createResponse(200, json_encode($response));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment