回答編集履歴
2
mod
test
CHANGED
@@ -18,7 +18,7 @@
|
|
18
18
|
|
19
19
|
'description' => 'Example charge',
|
20
20
|
|
21
|
-
'source' => 'token_code'
|
21
|
+
'source' => 'token_code'
|
22
22
|
|
23
23
|
);
|
24
24
|
|
1
add
test
CHANGED
@@ -43,3 +43,13 @@
|
|
43
43
|
curl_close($conn);
|
44
44
|
|
45
45
|
```
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
ポイントとしては
|
50
|
+
|
51
|
+
`-u`は`CURLOPT_USERNAME`
|
52
|
+
|
53
|
+
`-d`は`CURLOPT_POSTFIELDS`
|
54
|
+
|
55
|
+
という点です。
|