json-rpc parameter bugfix (#129)
* json-rpc parameter bugfix * small change * Update json-rpc.js
This commit is contained in:
parent
dd7e447e73
commit
1bcf586544
2 changed files with 7 additions and 3 deletions
|
|
@ -2,13 +2,14 @@ const rpc = require('../lib/plugins/common/json-rpc')
|
|||
|
||||
const account = {
|
||||
username: 'test',
|
||||
password: 'test'
|
||||
password: 'test',
|
||||
port: 8080
|
||||
}
|
||||
|
||||
const method = {}
|
||||
|
||||
const params = {
|
||||
url: 'https://httpstat.us/500'
|
||||
// url: 'https://httpstat.us/500'
|
||||
// url: 'https://httpstat.us/400'
|
||||
// url: 'https://httpstat.us/200'
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue