透過Postman測試Android接收推播訊息
前言
推播問題多,透過Postman能快速自我驗證,釐清問題測試步驟
- 首先請安裝Postman。Postman: a Google chrome extension.
- Postman設定 Request Type:POST
- 確認回應訊息,當success的值大於0,表示成功發送幾個
URL:https://android.googleapis.com/gcm/send
Header
Authorization : key=your key //Google API KEY
Content-Type : application/json


留言
張貼留言