質問編集履歴

1

内容の追記

2018/10/23 13:56

投稿

RyomaD
RyomaD

スコア34

test CHANGED
File without changes
test CHANGED
@@ -107,3 +107,15 @@
107
107
  request moduleがあることも確認済み。
108
108
 
109
109
  ![イメージ説明](62af59efbf6b86cb6ae6186a36efa090.png)
110
+
111
+
112
+
113
+ ### やりたいこと
114
+
115
+ 以下のようなcurlコマンドをNode.jsに変換して使用したい。
116
+
117
+ ```
118
+
119
+ curl -v -d '{"aps":{"alert":"hello"}}' --http2 --cert Certificates.pem:1234 https://api.development.push.apple.com/3/device/6a25342c9d1941c73b37c5c28f6788efe0f7a8e681ce440f15a8eb61e679cb63
120
+
121
+ ```