Single PHP file to send push notification via OneSignal REST API

Here’s a single php file where you can send a push notification using your OneSignal account via REST API. It’s simple and straightforward using the code example at OneSignal.com. This one is more complete as the code example is just the curl_setopt code. But what if you don’t know how to POST the code from… Continue reading Single PHP file to send push notification via OneSignal REST API

Google Finance API stopped working as of September 2017

If you’re using the Google Finance Exchange Rate API and it suddenly stopped working, then don’t be shocked. At first, I thought they now require an API key, but that assumption vanished in seconds after I noticed that https://www.google.com/finance/converter was redirected to https://finance.google.com/finance/converter. So if you’re using file_get_contents to fetch the latest forex rates at… Continue reading Google Finance API stopped working as of September 2017