aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/AppBundle')
-rw-r--r--src/AppBundle/Controller/AllDataController.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/AppBundle/Controller/AllDataController.php b/src/AppBundle/Controller/AllDataController.php
index 18a30a1..78b4752 100644
--- a/src/AppBundle/Controller/AllDataController.php
+++ b/src/AppBundle/Controller/AllDataController.php
@@ -5,11 +5,13 @@ use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
+
class AllDataController extends Controller
{
/**
* @Route("/AllDataReadings", name="AllData")
*/
+
public function GetAllData()
{
// Get cURL resource
@@ -23,6 +25,12 @@ class AllDataController extends Controller
curl_close($curl);
$data = json_decode($resp, true);
+
+
<