Browse Source

octranspo: Switch to API v1.3

master
Stéphane Bérubé 4 months ago
parent
commit
e55324da9b
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      classes/Octranspo.php

+ 1
- 1
classes/Octranspo.php View File

@@ -46,7 +46,7 @@ class OCTranspo extends Api {

// TODO: Error handling
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "https://api.octranspo1.com/v1.2/GetNextTripsForStop");
curl_setopt($ch, CURLOPT_URL, "https://api.octranspo1.com/v1.3/GetNextTripsForStop");
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);

Loading…
Cancel
Save