Changeset 2027821
- Timestamp:
- 02/09/2019 04:19:24 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pushpad-web-push-notifications/trunk/pushpad/notification.php
r1441637 r2027821 31 31 $project_id = isset($options['project_id']) ? $options['project_id'] : Pushpad::$project_id; 32 32 if (!isset($project_id)) throw new \Exception('You must set Pushpad\Pushpad::$project_id'); 33 $endpoint = "https://pushpad.xyz/ projects/$project_id/notifications";33 $endpoint = "https://pushpad.xyz/api/v1/projects/$project_id/notifications"; 34 34 $req = curl_init($endpoint); 35 35 curl_setopt($req, CURLOPT_CUSTOMREQUEST, 'POST');
Note: See TracChangeset
for help on using the changeset viewer.