ターミナルから以下のcurlコマンドを実行した時と同じ動作を、PHPのコードで実現したいです。
詳しい方がおりましたら、教えていただけるとありがたいです。よろしくお願いいたします。
curl -X POST "https://XXX/v0.1/apps/YYY/ZZZ/push/notifications" -H "accept: application/json" -H "X-API-Token: XXX-YYY-ZZZ" -H "Content-Type: application/json" -d "{ "notification_target": null, "notification_content": { "name": "testName", "title": "testTitle", "body": "testBody" }}"
回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2019/07/24 12:16