paypro: example - fix request method.
This commit is contained in:
parent
1e57a6d874
commit
bf77041f1d
|
@ -153,7 +153,7 @@ function sendPayment(msg, callback) {
|
||||||
}
|
}
|
||||||
|
|
||||||
return request({
|
return request({
|
||||||
method: 'POST',
|
method: 'GET',
|
||||||
uri: 'https://localhost:' + port + '/-/request',
|
uri: 'https://localhost:' + port + '/-/request',
|
||||||
headers: {
|
headers: {
|
||||||
'Accept': PayPro.PAYMENT_REQUEST_CONTENT_TYPE
|
'Accept': PayPro.PAYMENT_REQUEST_CONTENT_TYPE
|
||||||
|
|
Loading…
Reference in New Issue